title: Matplotlib hiding specific tick lines
body: <p>I'm using this to hide certain tick labels:</p>
  
  <pre><code>for label in ax1.xaxis.get_ticklabels()[::1]:
      label.set_visible(False)
  </code></pre>
  
  <p>How can I also hide the tick lines that go along with those labels? </p>