From: <ry...@us...> - 2010-03-25 14:17:23
|
Revision: 8214 http://matplotlib.svn.sourceforge.net/matplotlib/?rev=8214&view=rev Author: ryanmay Date: 2010-03-25 14:17:17 +0000 (Thu, 25 Mar 2010) Log Message: ----------- Correct docstring for ScalarFormatter to represent current behavior. Modified Paths: -------------- trunk/matplotlib/lib/matplotlib/ticker.py Modified: trunk/matplotlib/lib/matplotlib/ticker.py =================================================================== --- trunk/matplotlib/lib/matplotlib/ticker.py 2010-03-24 04:45:19 UTC (rev 8213) +++ trunk/matplotlib/lib/matplotlib/ticker.py 2010-03-25 14:17:17 UTC (rev 8214) @@ -318,7 +318,9 @@ Tick location is a plain old number. If useOffset==True and the data range is much smaller than the data average, then an offset will be determined such that the tick labels are meaningful. Scientific notation is used for - data < 1e-3 or data >= 1e4. + data < 10^-n or data >= 10^m, where n and m are the power limits set using + set_powerlimits((n,m)). The defaults for these are controlled by the + axes.formatter.limits rc parameter. """ def __init__(self, useOffset=True, useMathText=False): This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |