I can remove the ticks with
ax.set_xticks([]) ax.set_yticks([])
but this removes the labels as well. Any way I can plot the tick labels b
While attending a coursera course on Python, this was a question.
Below is the given solution, which I think is more readable and intuitive.
ax.tick_params(top='off', bottom='off', left='off', right='off', labelleft='on', labelbottom='on')