I am looking to add edit the tick marks on the x-axis of my histogram to show increments of 5, rather than 10.
#ages is a list of ints
plt.hist(ages, bins=20)
plt.show()
When I run this, I get the histogram I desire, but the x-axis ticks/labels go from 0 to 80 by multiples of 10, and I want them to show multiples of 5. Is there a way to manually choose which values are used for the x ticks?