Ax.tick_params method not working

so
ax.tick_params(bottom=‘off’, top=‘off’, left=‘off’, right=‘off’) doesn’t work

but
ax.tick_params(bottom=False, top=False, left=False, right=False) does work

1 Like

Those quotes do not look right…

Instead of
ax.tick_params(bottom=‘off’, top=‘off’, left=‘off’, right=‘off’)

It probably should be
ax.tick_params(bottom='off', top='off', left='off', right='off')

1 Like

Use boolean True or False instead of "off". "off" will be deprecated soon.