If you are more interested in spacing the grid so that the grid lines fall on those key values, you could take a look at this post: PyPlot - Setting grid line spacing for plot.
Cheers!
If you are more interested in spacing the grid so that the grid lines fall on those key values, you could take a look at this post: PyPlot - Setting grid line spacing for plot.
Cheers!