[Matplotlib-users] How to plot tick values in-place?
ben.v.root at gmail.com
Wed Feb 10 12:52:23 EST 2016
I think setting the rcParam 'axes.formatter.useoffset' to False prior to
any plotting would do the trick.
plot.rcParams['axes.formatter.useoffset'] = False
On Wed, Feb 10, 2016 at 12:06 PM, Ilja Honkonen <ilja.j.honkonen at nasa.gov>
> 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!
> Matplotlib-users mailing list
> Matplotlib-users at python.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Matplotlib-users