On 11/29/2011 01:29 PM, Nat Echols wrote:
> I'm plotting values that cover a very small range with a relatively
> large base, e.g.
>
> 375.0001
> 375.00025
> 375.0002
> ...
>
> In practice, the data series hovers at a single value for several
> hundred elements in a row, then fluctuates slightly.  Initially
> matplotlib does what I expect, and the Y-axis ticks are labeled 373,
> 374, 376, 376, etc.  Once the small fluctuations are plotted, however,
> it switches to showing relative values, with the absolute reference
> point above the plot, as in the attached image.  This is needlessly
> confusing - is there a way to prevent such behavior?
>
> thanks,
> Nat

If you are using mpl 1.0 or later, try

pyplot.ticklabel_format(useOffset=False)

It is also available as an Axes method.

Eric
>
>
>
> ------------------------------------------------------------------------------
> All the data continuously generated in your IT infrastructure
> contains a definitive record of customers, application performance,
> security threats, fraudulent activity, and more. Splunk takes this
> data and makes sense of it. IT sense. And common sense.
> http://p.sf.net/sfu/splunk-novd2d
>
>
>
> _______________________________________________
> Matplotlib-users mailing list
> Matplotlib-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users


------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to