[Matplotlib-users] How to plot tick values in-place?

Ilja Honkonen ilja.j.honkonen at nasa.gov
Wed Feb 10 12:06:40 EST 2016

I didn't find an answer with google or stackoverflow, maybe someone here 
can help? The code:

import matplotlib.pyplot as plot
plot.plot([0, 1e-9, 0, -1e-9])

produces a plot in which y ticks are -1, -0.5, 0, 0.5, 1 and their 
scaling is plotted elsewhere, how do I force matplotlib to plot the tics 
in-place as -1e-9, -0.5-e9... so I don't have to search other parts of 
the plot for potential corrections to tick values? Thanks!

More information about the Matplotlib-users mailing list