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?
The png file generated:
https://i.stack.imgur.com/NhBYM.png
And the relevant part of the 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')
Thank you!