title: Grid lines in between data points
body: <p>Is there a way to move the grid lines in between the data points instead of <em>on</em> the data points?</p>
  <pre><code>import matplotlib.pyplot as plt
  import numpy as np
  
  # Fixing random state for reproducibility
  np.random.seed(19680801)
  
  
  plt.rcdefaults()
  fig, ax = plt.subplots()
  
  # Example data
  people = ('Tom', 'Dick', 'Harry', 'Slim', 'Jim')
  y_pos = np.arange(len(people))
  performance = 3 + 10 * np.random.rand(len(people))
  
  ax.barh(y_pos, performance, align='center')
  ax.set_yticks(y_pos)
  ax.set_yticklabels(people)
  ax.invert_yaxis()  # labels read top-to-bottom
  
  plt.grid(color='black')
  
  plt.show()
  </code></pre>
  <p><a href="https://i.stack.imgur.com/1xhqZ.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/1xhqZ.png" alt="enter image description here" /></a></p>