title: Change X axis step in Python matplotlib
body: <p>I created a figure which shows a set of data and a histogram. What bugs me is, as shown below, the X-axis at the histogram has a step of 20 therefore the last value is 140 instead of 150 and this triggers my OCD very badly.
  Can someone help me in fixing it?</p>
  
  <p>The png file generated:</p>
  
  <p><a href="https://i.stack.imgur.com/NhBYM.png" rel="nofollow noreferrer">https://i.stack.imgur.com/NhBYM.png</a></p>
  
  <p>And the relevant part of the code:</p>
  
  <pre><code>import numpy as np
  import matplotlib.pyplot as plt
  
  data = np.random.normal(60, 13, 500)
  
  plt.hist(data, orientation = 'horizontal')
  plt.grid()
  plt.axis([0, 150, 0, 120])
  
  plt.savefig('HISTOGRAM.png')
  </code></pre>
  
  <p>Thank you!</p>