title: For a Matplotlib plot, how do I hide the tick marks but keep the tick labels?
body: <p>When creating a 2-D plot in Matplotlib, what method hides the tick marks/lines but not the labels?  I want the opposite of <a href="https://stackoverflow.com/questions/48695269/remove-tick-labels-but-not-tick-marks-but-preserve-distance-beween-ticks">this question</a>.  I do not see an appropriate method in the <a href="https://matplotlib.org/api/axes_api.html#ticks-and-tick-labels" rel="nofollow noreferrer">Matplotlib API</a>.  </p>
  
  <p>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?</p>