When creating a 2-D plot in Matplotlib, what method hides the tick marks/lines but not the labels? I want the opposite of this question. I do not see an appropriate method in the Matplotlib API.
As a hack, I have considered "hiding" the tick marks by setting the color to match the background (e.g., white). Is there a better way?