title: Remove the x-axis ticks while keeping the grids (matplotlib)
body: <p>I want to remove the ticks on the x-axis but keep the vertical girds. When I do the following I lose both x-axis ticks as well as the grid.</p>
  
  <pre><code>import matplotlib.pyplot as plt
  fig = plt.figure() 
  figr = fig.add_subplot(211)
  ...
  figr.axes.get_xaxis().set_visible(False)
  figr.xaxsis.grid(True)
  </code></pre>
  
  <p>How can I retain the grid while makeing x-axis ticks invisible?</p>