1265 lines (965 with data), 81.7 kB
@header@
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="heading">
<tr bgcolor="#7799ee">
<td valign=bottom> <br>
<font color="#ffffff" face="helvetica, arial"> <br><big><big><strong><a href="matplotlib.html"><font color="#ffffff">matplotlib</font></a>.ticker</strong></big></big></font></td
><td align=right valign=bottom
><font color="#ffffff" face="helvetica, arial"><a href=".">index</a><br><a href="file:/home/jdhunter/dev/lib64/python2.5/site-packages/matplotlib/ticker.py">/home/jdhunter/dev/lib64/python2.5/site-packages/matplotlib/ticker.py</a></font></td></tr></table>
<p><tt>Tick locating and formatting<br>
============================<br>
<br>
This module contains classes to support completely configurable tick<br>
locating and formatting. Although the locators know nothing about<br>
major or minor ticks, they are used by the Axis class to support major<br>
and minor tick locating and formatting. Generic tick locators and<br>
formatters are provided, as well as domain specific custom ones..<br>
<br>
<br>
Tick locating<br>
-------------<br>
<br>
The <a href="#Locator">Locator</a> class is the base class for all tick locators. The<br>
locators handle autoscaling of the view limits based on the data<br>
limits, and the choosing of tick locations. A useful semi-automatic<br>
tick locator is <a href="#MultipleLocator">MultipleLocator</a>. You initialize this with a base, eg<br>
10, and it picks axis limits and ticks that are multiples of your<br>
base.<br>
<br>
The <a href="#Locator">Locator</a> subclasses defined here are<br>
<br>
* <a href="#NullLocator">NullLocator</a> - No ticks<br>
<br>
* <a href="#FixedLocator">FixedLocator</a> - Tick locations are fixed<br>
<br>
* <a href="#IndexLocator">IndexLocator</a> - locator for index plots (eg where x = range(len(y))<br>
<br>
* <a href="#LinearLocator">LinearLocator</a> - evenly spaced ticks from min to max<br>
<br>
* <a href="#LogLocator">LogLocator</a> - logarithmically ticks from min to max<br>
<br>
* <a href="#MultipleLocator">MultipleLocator</a> - ticks and range are a multiple of base;<br>
either integer or float<br>
<br>
* OldAutoLocator - choose a <a href="#MultipleLocator">MultipleLocator</a> and dyamically reassign<br>
it for intelligent ticking during navigation<br>
<br>
* <a href="#MaxNLocator">MaxNLocator</a> - finds up to a max number of ticks at nice<br>
locations<br>
<br>
* <a href="#AutoLocator">AutoLocator</a> - <a href="#MaxNLocator">MaxNLocator</a> with simple defaults. This is the<br>
default tick locator for most plotting.<br>
<br>
There are a number of locators specialized for date locations - see<br>
the dates module<br>
<br>
You can define your own locator by deriving from <a href="#Locator">Locator</a>. You must<br>
override the __call__ method, which returns a sequence of locations,<br>
and you will probably want to override the autoscale method to set the<br>
view limits from the data limits.<br>
<br>
If you want to override the default locator, use one of the above or a<br>
custom locator and pass it to the x or y axis instance. The relevant<br>
methods are::<br>
<br>
ax.xaxis.set_major_locator( xmajorLocator )<br>
ax.xaxis.set_minor_locator( xminorLocator )<br>
ax.yaxis.set_major_locator( ymajorLocator )<br>
ax.yaxis.set_minor_locator( yminorLocator )<br>
<br>
The default minor locator is the <a href="#NullLocator">NullLocator</a>, eg no minor ticks on by<br>
default.<br>
<br>
Tick formatting<br>
---------------<br>
<br>
Tick formatting is controlled by classes derived from <a href="#Formatter">Formatter</a>. The<br>
formatter operates on a single tick value and returns a string to the<br>
axis.<br>
<br>
* <a href="#NullFormatter">NullFormatter</a> - no labels on the ticks<br>
<br>
* <a href="#FixedFormatter">FixedFormatter</a> - set the strings manually for the labels<br>
<br>
* <a href="#FuncFormatter">FuncFormatter</a> - user defined function sets the labels<br>
<br>
* <a href="#FormatStrFormatter">FormatStrFormatter</a> - use a sprintf format string<br>
<br>
* <a href="#ScalarFormatter">ScalarFormatter</a> - default formatter for scalars; autopick the fmt string<br>
<br>
* <a href="#LogFormatter">LogFormatter</a> - formatter for log axes<br>
<br>
<br>
You can derive your own formatter from the <a href="#Formatter">Formatter</a> base class by<br>
simply overriding the __call__ method. The formatter class has access<br>
to the axis view and data limits.<br>
<br>
To control the major and minor tick label formats, use one of the<br>
following methods::<br>
<br>
ax.xaxis.set_major_formatter( xmajorFormatter )<br>
ax.xaxis.set_minor_formatter( xminorFormatter )<br>
ax.yaxis.set_major_formatter( ymajorFormatter )<br>
ax.yaxis.set_minor_formatter( yminorFormatter )<br>
<br>
See examples/major_minor_demo1.py for an example of setting major an<br>
minor ticks. See the matplotlib.dates module for more information and<br>
examples of using date locators and formatters.</tt></p>
<p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#aa55cc">
<td colspan=3 valign=bottom> <br>
<font color="#fffff" face="helvetica, arial"><big><strong>Modules</strong></big></font></td></tr>
<tr><td bgcolor="#aa55cc"><tt> </tt></td><td> </td>
<td width="100%"><table width="100%" summary="list"><tr><td width="25%" valign=top><a href="matplotlib.cbook.html">matplotlib.cbook</a><br>
</td><td width="25%" valign=top><a href="math.html">math</a><br>
</td><td width="25%" valign=top><a href="matplotlib.transforms.html">matplotlib.transforms</a><br>
</td><td width="25%" valign=top><a href="numpy.html">numpy</a><br>
</td></tr></table></td></tr></table><p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ee77aa">
<td colspan=3 valign=bottom> <br>
<font color="#ffffff" face="helvetica, arial"><big><strong>Classes</strong></big></font></td></tr>
<tr><td bgcolor="#ee77aa"><tt> </tt></td><td> </td>
<td width="100%"><dl>
<dt><font face="helvetica, arial"><a href="matplotlib.ticker.html#TickHelper">TickHelper</a>
</font></dt><dd>
<dl>
<dt><font face="helvetica, arial"><a href="matplotlib.ticker.html#Formatter">Formatter</a>
</font></dt><dd>
<dl>
<dt><font face="helvetica, arial"><a href="matplotlib.ticker.html#FixedFormatter">FixedFormatter</a>
</font></dt><dt><font face="helvetica, arial"><a href="matplotlib.ticker.html#FormatStrFormatter">FormatStrFormatter</a>
</font></dt><dt><font face="helvetica, arial"><a href="matplotlib.ticker.html#FuncFormatter">FuncFormatter</a>
</font></dt><dt><font face="helvetica, arial"><a href="matplotlib.ticker.html#LogFormatter">LogFormatter</a>
</font></dt><dd>
<dl>
<dt><font face="helvetica, arial"><a href="matplotlib.ticker.html#LogFormatterExponent">LogFormatterExponent</a>
</font></dt><dt><font face="helvetica, arial"><a href="matplotlib.ticker.html#LogFormatterMathtext">LogFormatterMathtext</a>
</font></dt></dl>
</dd>
<dt><font face="helvetica, arial"><a href="matplotlib.ticker.html#NullFormatter">NullFormatter</a>
</font></dt><dt><font face="helvetica, arial"><a href="matplotlib.ticker.html#ScalarFormatter">ScalarFormatter</a>
</font></dt></dl>
</dd>
<dt><font face="helvetica, arial"><a href="matplotlib.ticker.html#Locator">Locator</a>
</font></dt><dd>
<dl>
<dt><font face="helvetica, arial"><a href="matplotlib.ticker.html#FixedLocator">FixedLocator</a>
</font></dt><dt><font face="helvetica, arial"><a href="matplotlib.ticker.html#IndexLocator">IndexLocator</a>
</font></dt><dt><font face="helvetica, arial"><a href="matplotlib.ticker.html#LinearLocator">LinearLocator</a>
</font></dt><dt><font face="helvetica, arial"><a href="matplotlib.ticker.html#LogLocator">LogLocator</a>
</font></dt><dt><font face="helvetica, arial"><a href="matplotlib.ticker.html#MaxNLocator">MaxNLocator</a>
</font></dt><dd>
<dl>
<dt><font face="helvetica, arial"><a href="matplotlib.ticker.html#AutoLocator">AutoLocator</a>
</font></dt></dl>
</dd>
<dt><font face="helvetica, arial"><a href="matplotlib.ticker.html#MultipleLocator">MultipleLocator</a>
</font></dt><dt><font face="helvetica, arial"><a href="matplotlib.ticker.html#NullLocator">NullLocator</a>
</font></dt></dl>
</dd>
</dl>
</dd>
</dl>
<p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom> <br>
<font color="#000000" face="helvetica, arial"><a name="AutoLocator">class <strong>AutoLocator</strong></a>(<a href="matplotlib.ticker.html#MaxNLocator">MaxNLocator</a>)</font></td></tr>
<tr><td bgcolor="#ffc8d8"><tt> </tt></td><td> </td>
<td width="100%"><dl><dt>Method resolution order:</dt>
<dd><a href="matplotlib.ticker.html#AutoLocator">AutoLocator</a></dd>
<dd><a href="matplotlib.ticker.html#MaxNLocator">MaxNLocator</a></dd>
<dd><a href="matplotlib.ticker.html#Locator">Locator</a></dd>
<dd><a href="matplotlib.ticker.html#TickHelper">TickHelper</a></dd>
</dl>
<hr>
Methods defined here:<br>
<dl><dt><a name="AutoLocator-__init__"><strong>__init__</strong></a>(self)</dt></dl>
<hr>
Methods inherited from <a href="matplotlib.ticker.html#MaxNLocator">MaxNLocator</a>:<br>
<dl><dt><a name="AutoLocator-__call__"><strong>__call__</strong></a>(self)</dt></dl>
<dl><dt><a name="AutoLocator-autoscale"><strong>autoscale</strong></a>(self)</dt></dl>
<dl><dt><a name="AutoLocator-bin_boundaries"><strong>bin_boundaries</strong></a>(self, vmin, vmax)</dt></dl>
<hr>
Methods inherited from <a href="matplotlib.ticker.html#Locator">Locator</a>:<br>
<dl><dt><a name="AutoLocator-pan"><strong>pan</strong></a>(self, numsteps)</dt><dd><tt>Pan numticks (can be positive or negative)</tt></dd></dl>
<dl><dt><a name="AutoLocator-refresh"><strong>refresh</strong></a>(self)</dt><dd><tt>refresh internal information based on current lim</tt></dd></dl>
<dl><dt><a name="AutoLocator-zoom"><strong>zoom</strong></a>(self, direction)</dt><dd><tt>Zoom in/out on axis; if direction is >0 zoom in, else zoom out</tt></dd></dl>
<hr>
Methods inherited from <a href="matplotlib.ticker.html#TickHelper">TickHelper</a>:<br>
<dl><dt><a name="AutoLocator-create_dummy_axis"><strong>create_dummy_axis</strong></a>(self)</dt></dl>
<dl><dt><a name="AutoLocator-set_axis"><strong>set_axis</strong></a>(self, axis)</dt></dl>
<dl><dt><a name="AutoLocator-set_bounds"><strong>set_bounds</strong></a>(self, vmin, vmax)</dt></dl>
<dl><dt><a name="AutoLocator-set_data_interval"><strong>set_data_interval</strong></a>(self, vmin, vmax)</dt></dl>
<dl><dt><a name="AutoLocator-set_view_interval"><strong>set_view_interval</strong></a>(self, vmin, vmax)</dt></dl>
<hr>
Data and other attributes inherited from <a href="matplotlib.ticker.html#TickHelper">TickHelper</a>:<br>
<dl><dt><strong>DummyAxis</strong> = <class matplotlib.ticker.DummyAxis at 0x14a2950></dl>
<dl><dt><strong>axis</strong> = None</dl>
</td></tr></table> <p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom> <br>
<font color="#000000" face="helvetica, arial"><a name="FixedFormatter">class <strong>FixedFormatter</strong></a>(<a href="matplotlib.ticker.html#Formatter">Formatter</a>)</font></td></tr>
<tr bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td>
<td colspan=2><tt>Return fixed strings for tick labels<br> </tt></td></tr>
<tr><td> </td>
<td width="100%"><dl><dt>Method resolution order:</dt>
<dd><a href="matplotlib.ticker.html#FixedFormatter">FixedFormatter</a></dd>
<dd><a href="matplotlib.ticker.html#Formatter">Formatter</a></dd>
<dd><a href="matplotlib.ticker.html#TickHelper">TickHelper</a></dd>
</dl>
<hr>
Methods defined here:<br>
<dl><dt><a name="FixedFormatter-__call__"><strong>__call__</strong></a>(self, x, pos<font color="#909090">=None</font>)</dt><dd><tt>Return the format for tick val x at position pos</tt></dd></dl>
<dl><dt><a name="FixedFormatter-__init__"><strong>__init__</strong></a>(self, seq)</dt><dd><tt>seq is a sequence of strings. For positions i<len(seq) return<br>
seq[i] regardless of x. Otherwise return ''</tt></dd></dl>
<dl><dt><a name="FixedFormatter-get_offset"><strong>get_offset</strong></a>(self)</dt></dl>
<dl><dt><a name="FixedFormatter-set_offset_string"><strong>set_offset_string</strong></a>(self, ofs)</dt></dl>
<hr>
Methods inherited from <a href="matplotlib.ticker.html#Formatter">Formatter</a>:<br>
<dl><dt><a name="FixedFormatter-fix_minus"><strong>fix_minus</strong></a>(self, s)</dt><dd><tt>some classes may want to replace a hyphen for minus with the<br>
proper unicode symbol as described here<br>
<br>
<a href="http://sourceforge.net/tracker/index.php?func=detail&aid=1962574&group_id=80706&atid=560720">http://sourceforge.net/tracker/index.php?func=detail&aid=1962574&group_id=80706&atid=560720</a>.<br>
The default is to do nothing<br>
<br>
Note, if you use this method, eg in format_data or call, you<br>
probably don't want to use it for format_data_short since the<br>
toolbar uses this for interative coord reporting and I doubt<br>
we can expect GUIs across platforms will handle the unicode<br>
correctly. So for now the classes that override fix_minus<br>
should have an explicit format_data_short method</tt></dd></dl>
<dl><dt><a name="FixedFormatter-format_data"><strong>format_data</strong></a>(self, value)</dt></dl>
<dl><dt><a name="FixedFormatter-format_data_short"><strong>format_data_short</strong></a>(self, value)</dt><dd><tt>return a short string version</tt></dd></dl>
<dl><dt><a name="FixedFormatter-set_locs"><strong>set_locs</strong></a>(self, locs)</dt></dl>
<hr>
Data and other attributes inherited from <a href="matplotlib.ticker.html#Formatter">Formatter</a>:<br>
<dl><dt><strong>locs</strong> = []</dl>
<hr>
Methods inherited from <a href="matplotlib.ticker.html#TickHelper">TickHelper</a>:<br>
<dl><dt><a name="FixedFormatter-create_dummy_axis"><strong>create_dummy_axis</strong></a>(self)</dt></dl>
<dl><dt><a name="FixedFormatter-set_axis"><strong>set_axis</strong></a>(self, axis)</dt></dl>
<dl><dt><a name="FixedFormatter-set_bounds"><strong>set_bounds</strong></a>(self, vmin, vmax)</dt></dl>
<dl><dt><a name="FixedFormatter-set_data_interval"><strong>set_data_interval</strong></a>(self, vmin, vmax)</dt></dl>
<dl><dt><a name="FixedFormatter-set_view_interval"><strong>set_view_interval</strong></a>(self, vmin, vmax)</dt></dl>
<hr>
Data and other attributes inherited from <a href="matplotlib.ticker.html#TickHelper">TickHelper</a>:<br>
<dl><dt><strong>DummyAxis</strong> = <class matplotlib.ticker.DummyAxis at 0x14a2950></dl>
<dl><dt><strong>axis</strong> = None</dl>
</td></tr></table> <p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom> <br>
<font color="#000000" face="helvetica, arial"><a name="FixedLocator">class <strong>FixedLocator</strong></a>(<a href="matplotlib.ticker.html#Locator">Locator</a>)</font></td></tr>
<tr bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td>
<td colspan=2><tt>Tick locations are fixed. If nbins is not None,<br>
the array of possible positions will be subsampled to<br>
keep the number of ticks <= nbins +1.<br> </tt></td></tr>
<tr><td> </td>
<td width="100%"><dl><dt>Method resolution order:</dt>
<dd><a href="matplotlib.ticker.html#FixedLocator">FixedLocator</a></dd>
<dd><a href="matplotlib.ticker.html#Locator">Locator</a></dd>
<dd><a href="matplotlib.ticker.html#TickHelper">TickHelper</a></dd>
</dl>
<hr>
Methods defined here:<br>
<dl><dt><a name="FixedLocator-__call__"><strong>__call__</strong></a>(self)</dt><dd><tt>Return the locations of the ticks</tt></dd></dl>
<dl><dt><a name="FixedLocator-__init__"><strong>__init__</strong></a>(self, locs, nbins<font color="#909090">=None</font>)</dt></dl>
<hr>
Methods inherited from <a href="matplotlib.ticker.html#Locator">Locator</a>:<br>
<dl><dt><a name="FixedLocator-autoscale"><strong>autoscale</strong></a>(self)</dt><dd><tt>autoscale the view limits</tt></dd></dl>
<dl><dt><a name="FixedLocator-pan"><strong>pan</strong></a>(self, numsteps)</dt><dd><tt>Pan numticks (can be positive or negative)</tt></dd></dl>
<dl><dt><a name="FixedLocator-refresh"><strong>refresh</strong></a>(self)</dt><dd><tt>refresh internal information based on current lim</tt></dd></dl>
<dl><dt><a name="FixedLocator-zoom"><strong>zoom</strong></a>(self, direction)</dt><dd><tt>Zoom in/out on axis; if direction is >0 zoom in, else zoom out</tt></dd></dl>
<hr>
Methods inherited from <a href="matplotlib.ticker.html#TickHelper">TickHelper</a>:<br>
<dl><dt><a name="FixedLocator-create_dummy_axis"><strong>create_dummy_axis</strong></a>(self)</dt></dl>
<dl><dt><a name="FixedLocator-set_axis"><strong>set_axis</strong></a>(self, axis)</dt></dl>
<dl><dt><a name="FixedLocator-set_bounds"><strong>set_bounds</strong></a>(self, vmin, vmax)</dt></dl>
<dl><dt><a name="FixedLocator-set_data_interval"><strong>set_data_interval</strong></a>(self, vmin, vmax)</dt></dl>
<dl><dt><a name="FixedLocator-set_view_interval"><strong>set_view_interval</strong></a>(self, vmin, vmax)</dt></dl>
<hr>
Data and other attributes inherited from <a href="matplotlib.ticker.html#TickHelper">TickHelper</a>:<br>
<dl><dt><strong>DummyAxis</strong> = <class matplotlib.ticker.DummyAxis at 0x14a2950></dl>
<dl><dt><strong>axis</strong> = None</dl>
</td></tr></table> <p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom> <br>
<font color="#000000" face="helvetica, arial"><a name="FormatStrFormatter">class <strong>FormatStrFormatter</strong></a>(<a href="matplotlib.ticker.html#Formatter">Formatter</a>)</font></td></tr>
<tr bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td>
<td colspan=2><tt>Use a format string to format the tick<br> </tt></td></tr>
<tr><td> </td>
<td width="100%"><dl><dt>Method resolution order:</dt>
<dd><a href="matplotlib.ticker.html#FormatStrFormatter">FormatStrFormatter</a></dd>
<dd><a href="matplotlib.ticker.html#Formatter">Formatter</a></dd>
<dd><a href="matplotlib.ticker.html#TickHelper">TickHelper</a></dd>
</dl>
<hr>
Methods defined here:<br>
<dl><dt><a name="FormatStrFormatter-__call__"><strong>__call__</strong></a>(self, x, pos<font color="#909090">=None</font>)</dt><dd><tt>Return the format for tick val x at position pos</tt></dd></dl>
<dl><dt><a name="FormatStrFormatter-__init__"><strong>__init__</strong></a>(self, fmt)</dt></dl>
<hr>
Methods inherited from <a href="matplotlib.ticker.html#Formatter">Formatter</a>:<br>
<dl><dt><a name="FormatStrFormatter-fix_minus"><strong>fix_minus</strong></a>(self, s)</dt><dd><tt>some classes may want to replace a hyphen for minus with the<br>
proper unicode symbol as described here<br>
<br>
<a href="http://sourceforge.net/tracker/index.php?func=detail&aid=1962574&group_id=80706&atid=560720">http://sourceforge.net/tracker/index.php?func=detail&aid=1962574&group_id=80706&atid=560720</a>.<br>
The default is to do nothing<br>
<br>
Note, if you use this method, eg in format_data or call, you<br>
probably don't want to use it for format_data_short since the<br>
toolbar uses this for interative coord reporting and I doubt<br>
we can expect GUIs across platforms will handle the unicode<br>
correctly. So for now the classes that override fix_minus<br>
should have an explicit format_data_short method</tt></dd></dl>
<dl><dt><a name="FormatStrFormatter-format_data"><strong>format_data</strong></a>(self, value)</dt></dl>
<dl><dt><a name="FormatStrFormatter-format_data_short"><strong>format_data_short</strong></a>(self, value)</dt><dd><tt>return a short string version</tt></dd></dl>
<dl><dt><a name="FormatStrFormatter-get_offset"><strong>get_offset</strong></a>(self)</dt></dl>
<dl><dt><a name="FormatStrFormatter-set_locs"><strong>set_locs</strong></a>(self, locs)</dt></dl>
<hr>
Data and other attributes inherited from <a href="matplotlib.ticker.html#Formatter">Formatter</a>:<br>
<dl><dt><strong>locs</strong> = []</dl>
<hr>
Methods inherited from <a href="matplotlib.ticker.html#TickHelper">TickHelper</a>:<br>
<dl><dt><a name="FormatStrFormatter-create_dummy_axis"><strong>create_dummy_axis</strong></a>(self)</dt></dl>
<dl><dt><a name="FormatStrFormatter-set_axis"><strong>set_axis</strong></a>(self, axis)</dt></dl>
<dl><dt><a name="FormatStrFormatter-set_bounds"><strong>set_bounds</strong></a>(self, vmin, vmax)</dt></dl>
<dl><dt><a name="FormatStrFormatter-set_data_interval"><strong>set_data_interval</strong></a>(self, vmin, vmax)</dt></dl>
<dl><dt><a name="FormatStrFormatter-set_view_interval"><strong>set_view_interval</strong></a>(self, vmin, vmax)</dt></dl>
<hr>
Data and other attributes inherited from <a href="matplotlib.ticker.html#TickHelper">TickHelper</a>:<br>
<dl><dt><strong>DummyAxis</strong> = <class matplotlib.ticker.DummyAxis at 0x14a2950></dl>
<dl><dt><strong>axis</strong> = None</dl>
</td></tr></table> <p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom> <br>
<font color="#000000" face="helvetica, arial"><a name="Formatter">class <strong>Formatter</strong></a>(<a href="matplotlib.ticker.html#TickHelper">TickHelper</a>)</font></td></tr>
<tr bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td>
<td colspan=2><tt>Convert the tick location to a string<br> </tt></td></tr>
<tr><td> </td>
<td width="100%">Methods defined here:<br>
<dl><dt><a name="Formatter-__call__"><strong>__call__</strong></a>(self, x, pos<font color="#909090">=None</font>)</dt><dd><tt>Return the format for tick val x at position pos; pos=None indicated unspecified</tt></dd></dl>
<dl><dt><a name="Formatter-fix_minus"><strong>fix_minus</strong></a>(self, s)</dt><dd><tt>some classes may want to replace a hyphen for minus with the<br>
proper unicode symbol as described here<br>
<br>
<a href="http://sourceforge.net/tracker/index.php?func=detail&aid=1962574&group_id=80706&atid=560720">http://sourceforge.net/tracker/index.php?func=detail&aid=1962574&group_id=80706&atid=560720</a>.<br>
The default is to do nothing<br>
<br>
Note, if you use this method, eg in format_data or call, you<br>
probably don't want to use it for format_data_short since the<br>
toolbar uses this for interative coord reporting and I doubt<br>
we can expect GUIs across platforms will handle the unicode<br>
correctly. So for now the classes that override fix_minus<br>
should have an explicit format_data_short method</tt></dd></dl>
<dl><dt><a name="Formatter-format_data"><strong>format_data</strong></a>(self, value)</dt></dl>
<dl><dt><a name="Formatter-format_data_short"><strong>format_data_short</strong></a>(self, value)</dt><dd><tt>return a short string version</tt></dd></dl>
<dl><dt><a name="Formatter-get_offset"><strong>get_offset</strong></a>(self)</dt></dl>
<dl><dt><a name="Formatter-set_locs"><strong>set_locs</strong></a>(self, locs)</dt></dl>
<hr>
Data and other attributes defined here:<br>
<dl><dt><strong>locs</strong> = []</dl>
<hr>
Methods inherited from <a href="matplotlib.ticker.html#TickHelper">TickHelper</a>:<br>
<dl><dt><a name="Formatter-create_dummy_axis"><strong>create_dummy_axis</strong></a>(self)</dt></dl>
<dl><dt><a name="Formatter-set_axis"><strong>set_axis</strong></a>(self, axis)</dt></dl>
<dl><dt><a name="Formatter-set_bounds"><strong>set_bounds</strong></a>(self, vmin, vmax)</dt></dl>
<dl><dt><a name="Formatter-set_data_interval"><strong>set_data_interval</strong></a>(self, vmin, vmax)</dt></dl>
<dl><dt><a name="Formatter-set_view_interval"><strong>set_view_interval</strong></a>(self, vmin, vmax)</dt></dl>
<hr>
Data and other attributes inherited from <a href="matplotlib.ticker.html#TickHelper">TickHelper</a>:<br>
<dl><dt><strong>DummyAxis</strong> = <class matplotlib.ticker.DummyAxis at 0x14a2950></dl>
<dl><dt><strong>axis</strong> = None</dl>
</td></tr></table> <p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom> <br>
<font color="#000000" face="helvetica, arial"><a name="FuncFormatter">class <strong>FuncFormatter</strong></a>(<a href="matplotlib.ticker.html#Formatter">Formatter</a>)</font></td></tr>
<tr bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td>
<td colspan=2><tt>User defined function for formatting<br> </tt></td></tr>
<tr><td> </td>
<td width="100%"><dl><dt>Method resolution order:</dt>
<dd><a href="matplotlib.ticker.html#FuncFormatter">FuncFormatter</a></dd>
<dd><a href="matplotlib.ticker.html#Formatter">Formatter</a></dd>
<dd><a href="matplotlib.ticker.html#TickHelper">TickHelper</a></dd>
</dl>
<hr>
Methods defined here:<br>
<dl><dt><a name="FuncFormatter-__call__"><strong>__call__</strong></a>(self, x, pos<font color="#909090">=None</font>)</dt><dd><tt>Return the format for tick val x at position pos</tt></dd></dl>
<dl><dt><a name="FuncFormatter-__init__"><strong>__init__</strong></a>(self, func)</dt></dl>
<hr>
Methods inherited from <a href="matplotlib.ticker.html#Formatter">Formatter</a>:<br>
<dl><dt><a name="FuncFormatter-fix_minus"><strong>fix_minus</strong></a>(self, s)</dt><dd><tt>some classes may want to replace a hyphen for minus with the<br>
proper unicode symbol as described here<br>
<br>
<a href="http://sourceforge.net/tracker/index.php?func=detail&aid=1962574&group_id=80706&atid=560720">http://sourceforge.net/tracker/index.php?func=detail&aid=1962574&group_id=80706&atid=560720</a>.<br>
The default is to do nothing<br>
<br>
Note, if you use this method, eg in format_data or call, you<br>
probably don't want to use it for format_data_short since the<br>
toolbar uses this for interative coord reporting and I doubt<br>
we can expect GUIs across platforms will handle the unicode<br>
correctly. So for now the classes that override fix_minus<br>
should have an explicit format_data_short method</tt></dd></dl>
<dl><dt><a name="FuncFormatter-format_data"><strong>format_data</strong></a>(self, value)</dt></dl>
<dl><dt><a name="FuncFormatter-format_data_short"><strong>format_data_short</strong></a>(self, value)</dt><dd><tt>return a short string version</tt></dd></dl>
<dl><dt><a name="FuncFormatter-get_offset"><strong>get_offset</strong></a>(self)</dt></dl>
<dl><dt><a name="FuncFormatter-set_locs"><strong>set_locs</strong></a>(self, locs)</dt></dl>
<hr>
Data and other attributes inherited from <a href="matplotlib.ticker.html#Formatter">Formatter</a>:<br>
<dl><dt><strong>locs</strong> = []</dl>
<hr>
Methods inherited from <a href="matplotlib.ticker.html#TickHelper">TickHelper</a>:<br>
<dl><dt><a name="FuncFormatter-create_dummy_axis"><strong>create_dummy_axis</strong></a>(self)</dt></dl>
<dl><dt><a name="FuncFormatter-set_axis"><strong>set_axis</strong></a>(self, axis)</dt></dl>
<dl><dt><a name="FuncFormatter-set_bounds"><strong>set_bounds</strong></a>(self, vmin, vmax)</dt></dl>
<dl><dt><a name="FuncFormatter-set_data_interval"><strong>set_data_interval</strong></a>(self, vmin, vmax)</dt></dl>
<dl><dt><a name="FuncFormatter-set_view_interval"><strong>set_view_interval</strong></a>(self, vmin, vmax)</dt></dl>
<hr>
Data and other attributes inherited from <a href="matplotlib.ticker.html#TickHelper">TickHelper</a>:<br>
<dl><dt><strong>DummyAxis</strong> = <class matplotlib.ticker.DummyAxis at 0x14a2950></dl>
<dl><dt><strong>axis</strong> = None</dl>
</td></tr></table> <p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom> <br>
<font color="#000000" face="helvetica, arial"><a name="IndexLocator">class <strong>IndexLocator</strong></a>(<a href="matplotlib.ticker.html#Locator">Locator</a>)</font></td></tr>
<tr bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td>
<td colspan=2><tt>Place a tick on every multiple of some base number of points<br>
plotted, eg on every 5th point. It is assumed that you are doing<br>
index plotting; ie the axis is 0, len(data). This is mainly<br>
useful for x ticks.<br> </tt></td></tr>
<tr><td> </td>
<td width="100%"><dl><dt>Method resolution order:</dt>
<dd><a href="matplotlib.ticker.html#IndexLocator">IndexLocator</a></dd>
<dd><a href="matplotlib.ticker.html#Locator">Locator</a></dd>
<dd><a href="matplotlib.ticker.html#TickHelper">TickHelper</a></dd>
</dl>
<hr>
Methods defined here:<br>
<dl><dt><a name="IndexLocator-__call__"><strong>__call__</strong></a>(self)</dt><dd><tt>Return the locations of the ticks</tt></dd></dl>
<dl><dt><a name="IndexLocator-__init__"><strong>__init__</strong></a>(self, base, offset)</dt><dd><tt>place ticks on the i-th data points where (i-offset)%base==0</tt></dd></dl>
<hr>
Methods inherited from <a href="matplotlib.ticker.html#Locator">Locator</a>:<br>
<dl><dt><a name="IndexLocator-autoscale"><strong>autoscale</strong></a>(self)</dt><dd><tt>autoscale the view limits</tt></dd></dl>
<dl><dt><a name="IndexLocator-pan"><strong>pan</strong></a>(self, numsteps)</dt><dd><tt>Pan numticks (can be positive or negative)</tt></dd></dl>
<dl><dt><a name="IndexLocator-refresh"><strong>refresh</strong></a>(self)</dt><dd><tt>refresh internal information based on current lim</tt></dd></dl>
<dl><dt><a name="IndexLocator-zoom"><strong>zoom</strong></a>(self, direction)</dt><dd><tt>Zoom in/out on axis; if direction is >0 zoom in, else zoom out</tt></dd></dl>
<hr>
Methods inherited from <a href="matplotlib.ticker.html#TickHelper">TickHelper</a>:<br>
<dl><dt><a name="IndexLocator-create_dummy_axis"><strong>create_dummy_axis</strong></a>(self)</dt></dl>
<dl><dt><a name="IndexLocator-set_axis"><strong>set_axis</strong></a>(self, axis)</dt></dl>
<dl><dt><a name="IndexLocator-set_bounds"><strong>set_bounds</strong></a>(self, vmin, vmax)</dt></dl>
<dl><dt><a name="IndexLocator-set_data_interval"><strong>set_data_interval</strong></a>(self, vmin, vmax)</dt></dl>
<dl><dt><a name="IndexLocator-set_view_interval"><strong>set_view_interval</strong></a>(self, vmin, vmax)</dt></dl>
<hr>
Data and other attributes inherited from <a href="matplotlib.ticker.html#TickHelper">TickHelper</a>:<br>
<dl><dt><strong>DummyAxis</strong> = <class matplotlib.ticker.DummyAxis at 0x14a2950></dl>
<dl><dt><strong>axis</strong> = None</dl>
</td></tr></table> <p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom> <br>
<font color="#000000" face="helvetica, arial"><a name="LinearLocator">class <strong>LinearLocator</strong></a>(<a href="matplotlib.ticker.html#Locator">Locator</a>)</font></td></tr>
<tr bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td>
<td colspan=2><tt>Determine the tick locations<br>
<br>
The first time this function is called it will try to set the<br>
number of ticks to make a nice tick partitioning. Thereafter the<br>
number of ticks will be fixed so that interactive navigation will<br>
be nice<br> </tt></td></tr>
<tr><td> </td>
<td width="100%"><dl><dt>Method resolution order:</dt>
<dd><a href="matplotlib.ticker.html#LinearLocator">LinearLocator</a></dd>
<dd><a href="matplotlib.ticker.html#Locator">Locator</a></dd>
<dd><a href="matplotlib.ticker.html#TickHelper">TickHelper</a></dd>
</dl>
<hr>
Methods defined here:<br>
<dl><dt><a name="LinearLocator-__call__"><strong>__call__</strong></a>(self)</dt><dd><tt>Return the locations of the ticks</tt></dd></dl>
<dl><dt><a name="LinearLocator-__init__"><strong>__init__</strong></a>(self, numticks<font color="#909090">=None</font>, presets<font color="#909090">=None</font>)</dt><dd><tt>Use presets to set locs based on lom. A dict mapping vmin, vmax->locs</tt></dd></dl>
<dl><dt><a name="LinearLocator-autoscale"><strong>autoscale</strong></a>(self)</dt><dd><tt>Try to choose the view limits intelligently</tt></dd></dl>
<hr>
Methods inherited from <a href="matplotlib.ticker.html#Locator">Locator</a>:<br>
<dl><dt><a name="LinearLocator-pan"><strong>pan</strong></a>(self, numsteps)</dt><dd><tt>Pan numticks (can be positive or negative)</tt></dd></dl>
<dl><dt><a name="LinearLocator-refresh"><strong>refresh</strong></a>(self)</dt><dd><tt>refresh internal information based on current lim</tt></dd></dl>
<dl><dt><a name="LinearLocator-zoom"><strong>zoom</strong></a>(self, direction)</dt><dd><tt>Zoom in/out on axis; if direction is >0 zoom in, else zoom out</tt></dd></dl>
<hr>
Methods inherited from <a href="matplotlib.ticker.html#TickHelper">TickHelper</a>:<br>
<dl><dt><a name="LinearLocator-create_dummy_axis"><strong>create_dummy_axis</strong></a>(self)</dt></dl>
<dl><dt><a name="LinearLocator-set_axis"><strong>set_axis</strong></a>(self, axis)</dt></dl>
<dl><dt><a name="LinearLocator-set_bounds"><strong>set_bounds</strong></a>(self, vmin, vmax)</dt></dl>
<dl><dt><a name="LinearLocator-set_data_interval"><strong>set_data_interval</strong></a>(self, vmin, vmax)</dt></dl>
<dl><dt><a name="LinearLocator-set_view_interval"><strong>set_view_interval</strong></a>(self, vmin, vmax)</dt></dl>
<hr>
Data and other attributes inherited from <a href="matplotlib.ticker.html#TickHelper">TickHelper</a>:<br>
<dl><dt><strong>DummyAxis</strong> = <class matplotlib.ticker.DummyAxis at 0x14a2950></dl>
<dl><dt><strong>axis</strong> = None</dl>
</td></tr></table> <p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom> <br>
<font color="#000000" face="helvetica, arial"><a name="Locator">class <strong>Locator</strong></a>(<a href="matplotlib.ticker.html#TickHelper">TickHelper</a>)</font></td></tr>
<tr bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td>
<td colspan=2><tt>Determine the tick locations;<br>
<br>
Note, you should not use the same locator between different Axis<br>
because the locator stores references to the Axis data and view<br>
limits<br> </tt></td></tr>
<tr><td> </td>
<td width="100%">Methods defined here:<br>
<dl><dt><a name="Locator-__call__"><strong>__call__</strong></a>(self)</dt><dd><tt>Return the locations of the ticks</tt></dd></dl>
<dl><dt><a name="Locator-autoscale"><strong>autoscale</strong></a>(self)</dt><dd><tt>autoscale the view limits</tt></dd></dl>
<dl><dt><a name="Locator-pan"><strong>pan</strong></a>(self, numsteps)</dt><dd><tt>Pan numticks (can be positive or negative)</tt></dd></dl>
<dl><dt><a name="Locator-refresh"><strong>refresh</strong></a>(self)</dt><dd><tt>refresh internal information based on current lim</tt></dd></dl>
<dl><dt><a name="Locator-zoom"><strong>zoom</strong></a>(self, direction)</dt><dd><tt>Zoom in/out on axis; if direction is >0 zoom in, else zoom out</tt></dd></dl>
<hr>
Methods inherited from <a href="matplotlib.ticker.html#TickHelper">TickHelper</a>:<br>
<dl><dt><a name="Locator-create_dummy_axis"><strong>create_dummy_axis</strong></a>(self)</dt></dl>
<dl><dt><a name="Locator-set_axis"><strong>set_axis</strong></a>(self, axis)</dt></dl>
<dl><dt><a name="Locator-set_bounds"><strong>set_bounds</strong></a>(self, vmin, vmax)</dt></dl>
<dl><dt><a name="Locator-set_data_interval"><strong>set_data_interval</strong></a>(self, vmin, vmax)</dt></dl>
<dl><dt><a name="Locator-set_view_interval"><strong>set_view_interval</strong></a>(self, vmin, vmax)</dt></dl>
<hr>
Data and other attributes inherited from <a href="matplotlib.ticker.html#TickHelper">TickHelper</a>:<br>
<dl><dt><strong>DummyAxis</strong> = <class matplotlib.ticker.DummyAxis at 0x14a2950></dl>
<dl><dt><strong>axis</strong> = None</dl>
</td></tr></table> <p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom> <br>
<font color="#000000" face="helvetica, arial"><a name="LogFormatter">class <strong>LogFormatter</strong></a>(<a href="matplotlib.ticker.html#Formatter">Formatter</a>)</font></td></tr>
<tr bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td>
<td colspan=2><tt>Format values for log axis;<br>
<br>
if attribute decadeOnly is True, only the decades will be labelled.<br> </tt></td></tr>
<tr><td> </td>
<td width="100%"><dl><dt>Method resolution order:</dt>
<dd><a href="matplotlib.ticker.html#LogFormatter">LogFormatter</a></dd>
<dd><a href="matplotlib.ticker.html#Formatter">Formatter</a></dd>
<dd><a href="matplotlib.ticker.html#TickHelper">TickHelper</a></dd>
</dl>
<hr>
Methods defined here:<br>
<dl><dt><a name="LogFormatter-__call__"><strong>__call__</strong></a>(self, x, pos<font color="#909090">=None</font>)</dt><dd><tt>Return the format for tick val x at position pos</tt></dd></dl>
<dl><dt><a name="LogFormatter-__init__"><strong>__init__</strong></a>(self, base<font color="#909090">=10.0</font>, labelOnlyBase<font color="#909090">=True</font>)</dt><dd><tt>base is used to locate the decade tick,<br>
which will be the only one to be labeled if labelOnlyBase<br>
is False</tt></dd></dl>
<dl><dt><a name="LogFormatter-base"><strong>base</strong></a>(self, base)</dt><dd><tt>change the base for labeling - warning: should always match the base used for <a href="#LogLocator">LogLocator</a></tt></dd></dl>
<dl><dt><a name="LogFormatter-format_data"><strong>format_data</strong></a>(self, value)</dt></dl>
<dl><dt><a name="LogFormatter-format_data_short"><strong>format_data_short</strong></a>(self, value)</dt><dd><tt>return a short formatted string representation of a number</tt></dd></dl>
<dl><dt><a name="LogFormatter-is_decade"><strong>is_decade</strong></a>(self, x)</dt></dl>
<dl><dt><a name="LogFormatter-label_minor"><strong>label_minor</strong></a>(self, labelOnlyBase)</dt><dd><tt>switch on/off minor ticks labeling</tt></dd></dl>
<dl><dt><a name="LogFormatter-nearest_long"><strong>nearest_long</strong></a>(self, x)</dt></dl>
<dl><dt><a name="LogFormatter-pprint_val"><strong>pprint_val</strong></a>(self, x, d)</dt></dl>
<hr>
Methods inherited from <a href="matplotlib.ticker.html#Formatter">Formatter</a>:<br>
<dl><dt><a name="LogFormatter-fix_minus"><strong>fix_minus</strong></a>(self, s)</dt><dd><tt>some classes may want to replace a hyphen for minus with the<br>
proper unicode symbol as described here<br>
<br>
<a href="http://sourceforge.net/tracker/index.php?func=detail&aid=1962574&group_id=80706&atid=560720">http://sourceforge.net/tracker/index.php?func=detail&aid=1962574&group_id=80706&atid=560720</a>.<br>
The default is to do nothing<br>
<br>
Note, if you use this method, eg in format_data or call, you<br>
probably don't want to use it for format_data_short since the<br>
toolbar uses this for interative coord reporting and I doubt<br>
we can expect GUIs across platforms will handle the unicode<br>
correctly. So for now the classes that override fix_minus<br>
should have an explicit format_data_short method</tt></dd></dl>
<dl><dt><a name="LogFormatter-get_offset"><strong>get_offset</strong></a>(self)</dt></dl>
<dl><dt><a name="LogFormatter-set_locs"><strong>set_locs</strong></a>(self, locs)</dt></dl>
<hr>
Data and other attributes inherited from <a href="matplotlib.ticker.html#Formatter">Formatter</a>:<br>
<dl><dt><strong>locs</strong> = []</dl>
<hr>
Methods inherited from <a href="matplotlib.ticker.html#TickHelper">TickHelper</a>:<br>
<dl><dt><a name="LogFormatter-create_dummy_axis"><strong>create_dummy_axis</strong></a>(self)</dt></dl>
<dl><dt><a name="LogFormatter-set_axis"><strong>set_axis</strong></a>(self, axis)</dt></dl>
<dl><dt><a name="LogFormatter-set_bounds"><strong>set_bounds</strong></a>(self, vmin, vmax)</dt></dl>
<dl><dt><a name="LogFormatter-set_data_interval"><strong>set_data_interval</strong></a>(self, vmin, vmax)</dt></dl>
<dl><dt><a name="LogFormatter-set_view_interval"><strong>set_view_interval</strong></a>(self, vmin, vmax)</dt></dl>
<hr>
Data and other attributes inherited from <a href="matplotlib.ticker.html#TickHelper">TickHelper</a>:<br>
<dl><dt><strong>DummyAxis</strong> = <class matplotlib.ticker.DummyAxis at 0x14a2950></dl>
<dl><dt><strong>axis</strong> = None</dl>
</td></tr></table> <p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom> <br>
<font color="#000000" face="helvetica, arial"><a name="LogFormatterExponent">class <strong>LogFormatterExponent</strong></a>(<a href="matplotlib.ticker.html#LogFormatter">LogFormatter</a>)</font></td></tr>
<tr bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td>
<td colspan=2><tt>Format values for log axis; using exponent = log_base(value)<br> </tt></td></tr>
<tr><td> </td>
<td width="100%"><dl><dt>Method resolution order:</dt>
<dd><a href="matplotlib.ticker.html#LogFormatterExponent">LogFormatterExponent</a></dd>
<dd><a href="matplotlib.ticker.html#LogFormatter">LogFormatter</a></dd>
<dd><a href="matplotlib.ticker.html#Formatter">Formatter</a></dd>
<dd><a href="matplotlib.ticker.html#TickHelper">TickHelper</a></dd>
</dl>
<hr>
Methods defined here:<br>
<dl><dt><a name="LogFormatterExponent-__call__"><strong>__call__</strong></a>(self, x, pos<font color="#909090">=None</font>)</dt><dd><tt>Return the format for tick val x at position pos</tt></dd></dl>
<hr>
Methods inherited from <a href="matplotlib.ticker.html#LogFormatter">LogFormatter</a>:<br>
<dl><dt><a name="LogFormatterExponent-__init__"><strong>__init__</strong></a>(self, base<font color="#909090">=10.0</font>, labelOnlyBase<font color="#909090">=True</font>)</dt><dd><tt>base is used to locate the decade tick,<br>
which will be the only one to be labeled if labelOnlyBase<br>
is False</tt></dd></dl>
<dl><dt><a name="LogFormatterExponent-base"><strong>base</strong></a>(self, base)</dt><dd><tt>change the base for labeling - warning: should always match the base used for <a href="#LogLocator">LogLocator</a></tt></dd></dl>
<dl><dt><a name="LogFormatterExponent-format_data"><strong>format_data</strong></a>(self, value)</dt></dl>
<dl><dt><a name="LogFormatterExponent-format_data_short"><strong>format_data_short</strong></a>(self, value)</dt><dd><tt>return a short formatted string representation of a number</tt></dd></dl>
<dl><dt><a name="LogFormatterExponent-is_decade"><strong>is_decade</strong></a>(self, x)</dt></dl>
<dl><dt><a name="LogFormatterExponent-label_minor"><strong>label_minor</strong></a>(self, labelOnlyBase)</dt><dd><tt>switch on/off minor ticks labeling</tt></dd></dl>
<dl><dt><a name="LogFormatterExponent-nearest_long"><strong>nearest_long</strong></a>(self, x)</dt></dl>
<dl><dt><a name="LogFormatterExponent-pprint_val"><strong>pprint_val</strong></a>(self, x, d)</dt></dl>
<hr>
Methods inherited from <a href="matplotlib.ticker.html#Formatter">Formatter</a>:<br>
<dl><dt><a name="LogFormatterExponent-fix_minus"><strong>fix_minus</strong></a>(self, s)</dt><dd><tt>some classes may want to replace a hyphen for minus with the<br>
proper unicode symbol as described here<br>
<br>
<a href="http://sourceforge.net/tracker/index.php?func=detail&aid=1962574&group_id=80706&atid=560720">http://sourceforge.net/tracker/index.php?func=detail&aid=1962574&group_id=80706&atid=560720</a>.<br>
The default is to do nothing<br>
<br>
Note, if you use this method, eg in format_data or call, you<br>
probably don't want to use it for format_data_short since the<br>
toolbar uses this for interative coord reporting and I doubt<br>
we can expect GUIs across platforms will handle the unicode<br>
correctly. So for now the classes that override fix_minus<br>
should have an explicit format_data_short method</tt></dd></dl>
<dl><dt><a name="LogFormatterExponent-get_offset"><strong>get_offset</strong></a>(self)</dt></dl>
<dl><dt><a name="LogFormatterExponent-set_locs"><strong>set_locs</strong></a>(self, locs)</dt></dl>
<hr>
Data and other attributes inherited from <a href="matplotlib.ticker.html#Formatter">Formatter</a>:<br>
<dl><dt><strong>locs</strong> = []</dl>
<hr>
Methods inherited from <a href="matplotlib.ticker.html#TickHelper">TickHelper</a>:<br>
<dl><dt><a name="LogFormatterExponent-create_dummy_axis"><strong>create_dummy_axis</strong></a>(self)</dt></dl>
<dl><dt><a name="LogFormatterExponent-set_axis"><strong>set_axis</strong></a>(self, axis)</dt></dl>
<dl><dt><a name="LogFormatterExponent-set_bounds"><strong>set_bounds</strong></a>(self, vmin, vmax)</dt></dl>
<dl><dt><a name="LogFormatterExponent-set_data_interval"><strong>set_data_interval</strong></a>(self, vmin, vmax)</dt></dl>
<dl><dt><a name="LogFormatterExponent-set_view_interval"><strong>set_view_interval</strong></a>(self, vmin, vmax)</dt></dl>
<hr>
Data and other attributes inherited from <a href="matplotlib.ticker.html#TickHelper">TickHelper</a>:<br>
<dl><dt><strong>DummyAxis</strong> = <class matplotlib.ticker.DummyAxis at 0x14a2950></dl>
<dl><dt><strong>axis</strong> = None</dl>
</td></tr></table> <p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom> <br>
<font color="#000000" face="helvetica, arial"><a name="LogFormatterMathtext">class <strong>LogFormatterMathtext</strong></a>(<a href="matplotlib.ticker.html#LogFormatter">LogFormatter</a>)</font></td></tr>
<tr bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td>
<td colspan=2><tt>Format values for log axis; using exponent = log_base(value)<br> </tt></td></tr>
<tr><td> </td>
<td width="100%"><dl><dt>Method resolution order:</dt>
<dd><a href="matplotlib.ticker.html#LogFormatterMathtext">LogFormatterMathtext</a></dd>
<dd><a href="matplotlib.ticker.html#LogFormatter">LogFormatter</a></dd>
<dd><a href="matplotlib.ticker.html#Formatter">Formatter</a></dd>
<dd><a href="matplotlib.ticker.html#TickHelper">TickHelper</a></dd>
</dl>
<hr>
Methods defined here:<br>
<dl><dt><a name="LogFormatterMathtext-__call__"><strong>__call__</strong></a>(self, x, pos<font color="#909090">=None</font>)</dt><dd><tt>Return the format for tick val x at position pos</tt></dd></dl>
<hr>
Methods inherited from <a href="matplotlib.ticker.html#LogFormatter">LogFormatter</a>:<br>
<dl><dt><a name="LogFormatterMathtext-__init__"><strong>__init__</strong></a>(self, base<font color="#909090">=10.0</font>, labelOnlyBase<font color="#909090">=True</font>)</dt><dd><tt>base is used to locate the decade tick,<br>
which will be the only one to be labeled if labelOnlyBase<br>
is False</tt></dd></dl>
<dl><dt><a name="LogFormatterMathtext-base"><strong>base</strong></a>(self, base)</dt><dd><tt>change the base for labeling - warning: should always match the base used for <a href="#LogLocator">LogLocator</a></tt></dd></dl>
<dl><dt><a name="LogFormatterMathtext-format_data"><strong>format_data</strong></a>(self, value)</dt></dl>
<dl><dt><a name="LogFormatterMathtext-format_data_short"><strong>format_data_short</strong></a>(self, value)</dt><dd><tt>return a short formatted string representation of a number</tt></dd></dl>
<dl><dt><a name="LogFormatterMathtext-is_decade"><strong>is_decade</strong></a>(self, x)</dt></dl>
<dl><dt><a name="LogFormatterMathtext-label_minor"><strong>label_minor</strong></a>(self, labelOnlyBase)</dt><dd><tt>switch on/off minor ticks labeling</tt></dd></dl>
<dl><dt><a name="LogFormatterMathtext-nearest_long"><strong>nearest_long</strong></a>(self, x)</dt></dl>
<dl><dt><a name="LogFormatterMathtext-pprint_val"><strong>pprint_val</strong></a>(self, x, d)</dt></dl>
<hr>
Methods inherited from <a href="matplotlib.ticker.html#Formatter">Formatter</a>:<br>
<dl><dt><a name="LogFormatterMathtext-fix_minus"><strong>fix_minus</strong></a>(self, s)</dt><dd><tt>some classes may want to replace a hyphen for minus with the<br>
proper unicode symbol as described here<br>
<br>
<a href="http://sourceforge.net/tracker/index.php?func=detail&aid=1962574&group_id=80706&atid=560720">http://sourceforge.net/tracker/index.php?func=detail&aid=1962574&group_id=80706&atid=560720</a>.<br>
The default is to do nothing<br>
<br>
Note, if you use this method, eg in format_data or call, you<br>
probably don't want to use it for format_data_short since the<br>
toolbar uses this for interative coord reporting and I doubt<br>
we can expect GUIs across platforms will handle the unicode<br>
correctly. So for now the classes that override fix_minus<br>
should have an explicit format_data_short method</tt></dd></dl>
<dl><dt><a name="LogFormatterMathtext-get_offset"><strong>get_offset</strong></a>(self)</dt></dl>
<dl><dt><a name="LogFormatterMathtext-set_locs"><strong>set_locs</strong></a>(self, locs)</dt></dl>
<hr>
Data and other attributes inherited from <a href="matplotlib.ticker.html#Formatter">Formatter</a>:<br>
<dl><dt><strong>locs</strong> = []</dl>
<hr>
Methods inherited from <a href="matplotlib.ticker.html#TickHelper">TickHelper</a>:<br>
<dl><dt><a name="LogFormatterMathtext-create_dummy_axis"><strong>create_dummy_axis</strong></a>(self)</dt></dl>
<dl><dt><a name="LogFormatterMathtext-set_axis"><strong>set_axis</strong></a>(self, axis)</dt></dl>
<dl><dt><a name="LogFormatterMathtext-set_bounds"><strong>set_bounds</strong></a>(self, vmin, vmax)</dt></dl>
<dl><dt><a name="LogFormatterMathtext-set_data_interval"><strong>set_data_interval</strong></a>(self, vmin, vmax)</dt></dl>
<dl><dt><a name="LogFormatterMathtext-set_view_interval"><strong>set_view_interval</strong></a>(self, vmin, vmax)</dt></dl>
<hr>
Data and other attributes inherited from <a href="matplotlib.ticker.html#TickHelper">TickHelper</a>:<br>
<dl><dt><strong>DummyAxis</strong> = <class matplotlib.ticker.DummyAxis at 0x14a2950></dl>
<dl><dt><strong>axis</strong> = None</dl>
</td></tr></table> <p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom> <br>
<font color="#000000" face="helvetica, arial"><a name="LogLocator">class <strong>LogLocator</strong></a>(<a href="matplotlib.ticker.html#Locator">Locator</a>)</font></td></tr>
<tr bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td>
<td colspan=2><tt>Determine the tick locations for log axes<br> </tt></td></tr>
<tr><td> </td>
<td width="100%"><dl><dt>Method resolution order:</dt>
<dd><a href="matplotlib.ticker.html#LogLocator">LogLocator</a></dd>
<dd><a href="matplotlib.ticker.html#Locator">Locator</a></dd>
<dd><a href="matplotlib.ticker.html#TickHelper">TickHelper</a></dd>
</dl>
<hr>
Methods defined here:<br>
<dl><dt><a name="LogLocator-__call__"><strong>__call__</strong></a>(self)</dt><dd><tt>Return the locations of the ticks</tt></dd></dl>
<dl><dt><a name="LogLocator-__init__"><strong>__init__</strong></a>(self, base<font color="#909090">=10.0</font>, subs<font color="#909090">=[1.0]</font>)</dt><dd><tt>place ticks on the location= base**i*subs[j]</tt></dd></dl>
<dl><dt><a name="LogLocator-autoscale"><strong>autoscale</strong></a>(self)</dt><dd><tt>Try to choose the view limits intelligently</tt></dd></dl>
<dl><dt><a name="LogLocator-base"><strong>base</strong></a>(self, base)</dt><dd><tt>set the base of the log scaling (major tick every base**i, i interger)</tt></dd></dl>
<dl><dt><a name="LogLocator-subs"><strong>subs</strong></a>(self, subs)</dt><dd><tt>set the minor ticks the log scaling every base**i*subs[j]</tt></dd></dl>
<hr>
Methods inherited from <a href="matplotlib.ticker.html#Locator">Locator</a>:<br>
<dl><dt><a name="LogLocator-pan"><strong>pan</strong></a>(self, numsteps)</dt><dd><tt>Pan numticks (can be positive or negative)</tt></dd></dl>
<dl><dt><a name="LogLocator-refresh"><strong>refresh</strong></a>(self)</dt><dd><tt>refresh internal information based on current lim</tt></dd></dl>
<dl><dt><a name="LogLocator-zoom"><strong>zoom</strong></a>(self, direction)</dt><dd><tt>Zoom in/out on axis; if direction is >0 zoom in, else zoom out</tt></dd></dl>
<hr>
Methods inherited from <a href="matplotlib.ticker.html#TickHelper">TickHelper</a>:<br>
<dl><dt><a name="LogLocator-create_dummy_axis"><strong>create_dummy_axis</strong></a>(self)</dt></dl>
<dl><dt><a name="LogLocator-set_axis"><strong>set_axis</strong></a>(self, axis)</dt></dl>
<dl><dt><a name="LogLocator-set_bounds"><strong>set_bounds</strong></a>(self, vmin, vmax)</dt></dl>
<dl><dt><a name="LogLocator-set_data_interval"><strong>set_data_interval</strong></a>(self, vmin, vmax)</dt></dl>
<dl><dt><a name="LogLocator-set_view_interval"><strong>set_view_interval</strong></a>(self, vmin, vmax)</dt></dl>
<hr>
Data and other attributes inherited from <a href="matplotlib.ticker.html#TickHelper">TickHelper</a>:<br>
<dl><dt><strong>DummyAxis</strong> = <class matplotlib.ticker.DummyAxis at 0x14a2950></dl>
<dl><dt><strong>axis</strong> = None</dl>
</td></tr></table> <p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom> <br>
<font color="#000000" face="helvetica, arial"><a name="MaxNLocator">class <strong>MaxNLocator</strong></a>(<a href="matplotlib.ticker.html#Locator">Locator</a>)</font></td></tr>
<tr bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td>
<td colspan=2><tt>Select no more than N intervals at nice locations.<br> </tt></td></tr>
<tr><td> </td>
<td width="100%"><dl><dt>Method resolution order:</dt>
<dd><a href="matplotlib.ticker.html#MaxNLocator">MaxNLocator</a></dd>
<dd><a href="matplotlib.ticker.html#Locator">Locator</a></dd>
<dd><a href="matplotlib.ticker.html#TickHelper">TickHelper</a></dd>
</dl>
<hr>
Methods defined here:<br>
<dl><dt><a name="MaxNLocator-__call__"><strong>__call__</strong></a>(self)</dt></dl>
<dl><dt><a name="MaxNLocator-__init__"><strong>__init__</strong></a>(self, nbins<font color="#909090">=10</font>, steps<font color="#909090">=None</font>, trim<font color="#909090">=True</font>, integer<font color="#909090">=False</font>, symmetric<font color="#909090">=False</font>)</dt></dl>
<dl><dt><a name="MaxNLocator-autoscale"><strong>autoscale</strong></a>(self)</dt></dl>
<dl><dt><a name="MaxNLocator-bin_boundaries"><strong>bin_boundaries</strong></a>(self, vmin, vmax)</dt></dl>
<hr>
Methods inherited from <a href="matplotlib.ticker.html#Locator">Locator</a>:<br>
<dl><dt><a name="MaxNLocator-pan"><strong>pan</strong></a>(self, numsteps)</dt><dd><tt>Pan numticks (can be positive or negative)</tt></dd></dl>
<dl><dt><a name="MaxNLocator-refresh"><strong>refresh</strong></a>(self)</dt><dd><tt>refresh internal information based on current lim</tt></dd></dl>
<dl><dt><a name="MaxNLocator-zoom"><strong>zoom</strong></a>(self, direction)</dt><dd><tt>Zoom in/out on axis; if direction is >0 zoom in, else zoom out</tt></dd></dl>
<hr>
Methods inherited from <a href="matplotlib.ticker.html#TickHelper">TickHelper</a>:<br>
<dl><dt><a name="MaxNLocator-create_dummy_axis"><strong>create_dummy_axis</strong></a>(self)</dt></dl>
<dl><dt><a name="MaxNLocator-set_axis"><strong>set_axis</strong></a>(self, axis)</dt></dl>
<dl><dt><a name="MaxNLocator-set_bounds"><strong>set_bounds</strong></a>(self, vmin, vmax)</dt></dl>
<dl><dt><a name="MaxNLocator-set_data_interval"><strong>set_data_interval</strong></a>(self, vmin, vmax)</dt></dl>
<dl><dt><a name="MaxNLocator-set_view_interval"><strong>set_view_interval</strong></a>(self, vmin, vmax)</dt></dl>
<hr>
Data and other attributes inherited from <a href="matplotlib.ticker.html#TickHelper">TickHelper</a>:<br>
<dl><dt><strong>DummyAxis</strong> = <class matplotlib.ticker.DummyAxis at 0x14a2950></dl>
<dl><dt><strong>axis</strong> = None</dl>
</td></tr></table> <p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom> <br>
<font color="#000000" face="helvetica, arial"><a name="MultipleLocator">class <strong>MultipleLocator</strong></a>(<a href="matplotlib.ticker.html#Locator">Locator</a>)</font></td></tr>
<tr bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td>
<td colspan=2><tt>Set a tick on every integer that is multiple of base in the<br>
view interval<br> </tt></td></tr>
<tr><td> </td>
<td width="100%"><dl><dt>Method resolution order:</dt>
<dd><a href="matplotlib.ticker.html#MultipleLocator">MultipleLocator</a></dd>
<dd><a href="matplotlib.ticker.html#Locator">Locator</a></dd>
<dd><a href="matplotlib.ticker.html#TickHelper">TickHelper</a></dd>
</dl>
<hr>
Methods defined here:<br>
<dl><dt><a name="MultipleLocator-__call__"><strong>__call__</strong></a>(self)</dt><dd><tt>Return the locations of the ticks</tt></dd></dl>
<dl><dt><a name="MultipleLocator-__init__"><strong>__init__</strong></a>(self, base<font color="#909090">=1.0</font>)</dt></dl>
<dl><dt><a name="MultipleLocator-autoscale"><strong>autoscale</strong></a>(self)</dt><dd><tt>Set the view limits to the nearest multiples of base that<br>
contain the data</tt></dd></dl>
<hr>
Methods inherited from <a href="matplotlib.ticker.html#Locator">Locator</a>:<br>
<dl><dt><a name="MultipleLocator-pan"><strong>pan</strong></a>(self, numsteps)</dt><dd><tt>Pan numticks (can be positive or negative)</tt></dd></dl>
<dl><dt><a name="MultipleLocator-refresh"><strong>refresh</strong></a>(self)</dt><dd><tt>refresh internal information based on current lim</tt></dd></dl>
<dl><dt><a name="MultipleLocator-zoom"><strong>zoom</strong></a>(self, direction)</dt><dd><tt>Zoom in/out on axis; if direction is >0 zoom in, else zoom out</tt></dd></dl>
<hr>
Methods inherited from <a href="matplotlib.ticker.html#TickHelper">TickHelper</a>:<br>
<dl><dt><a name="MultipleLocator-create_dummy_axis"><strong>create_dummy_axis</strong></a>(self)</dt></dl>
<dl><dt><a name="MultipleLocator-set_axis"><strong>set_axis</strong></a>(self, axis)</dt></dl>
<dl><dt><a name="MultipleLocator-set_bounds"><strong>set_bounds</strong></a>(self, vmin, vmax)</dt></dl>
<dl><dt><a name="MultipleLocator-set_data_interval"><strong>set_data_interval</strong></a>(self, vmin, vmax)</dt></dl>
<dl><dt><a name="MultipleLocator-set_view_interval"><strong>set_view_interval</strong></a>(self, vmin, vmax)</dt></dl>
<hr>
Data and other attributes inherited from <a href="matplotlib.ticker.html#TickHelper">TickHelper</a>:<br>
<dl><dt><strong>DummyAxis</strong> = <class matplotlib.ticker.DummyAxis at 0x14a2950></dl>
<dl><dt><strong>axis</strong> = None</dl>
</td></tr></table> <p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom> <br>
<font color="#000000" face="helvetica, arial"><a name="NullFormatter">class <strong>NullFormatter</strong></a>(<a href="matplotlib.ticker.html#Formatter">Formatter</a>)</font></td></tr>
<tr bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td>
<td colspan=2><tt>Always return the empty string<br> </tt></td></tr>
<tr><td> </td>
<td width="100%"><dl><dt>Method resolution order:</dt>
<dd><a href="matplotlib.ticker.html#NullFormatter">NullFormatter</a></dd>
<dd><a href="matplotlib.ticker.html#Formatter">Formatter</a></dd>
<dd><a href="matplotlib.ticker.html#TickHelper">TickHelper</a></dd>
</dl>
<hr>
Methods defined here:<br>
<dl><dt><a name="NullFormatter-__call__"><strong>__call__</strong></a>(self, x, pos<font color="#909090">=None</font>)</dt><dd><tt>Return the format for tick val x at position pos</tt></dd></dl>
<hr>
Methods inherited from <a href="matplotlib.ticker.html#Formatter">Formatter</a>:<br>
<dl><dt><a name="NullFormatter-fix_minus"><strong>fix_minus</strong></a>(self, s)</dt><dd><tt>some classes may want to replace a hyphen for minus with the<br>
proper unicode symbol as described here<br>
<br>
<a href="http://sourceforge.net/tracker/index.php?func=detail&aid=1962574&group_id=80706&atid=560720">http://sourceforge.net/tracker/index.php?func=detail&aid=1962574&group_id=80706&atid=560720</a>.<br>
The default is to do nothing<br>
<br>
Note, if you use this method, eg in format_data or call, you<br>
probably don't want to use it for format_data_short since the<br>
toolbar uses this for interative coord reporting and I doubt<br>
we can expect GUIs across platforms will handle the unicode<br>
correctly. So for now the classes that override fix_minus<br>
should have an explicit format_data_short method</tt></dd></dl>
<dl><dt><a name="NullFormatter-format_data"><strong>format_data</strong></a>(self, value)</dt></dl>
<dl><dt><a name="NullFormatter-format_data_short"><strong>format_data_short</strong></a>(self, value)</dt><dd><tt>return a short string version</tt></dd></dl>
<dl><dt><a name="NullFormatter-get_offset"><strong>get_offset</strong></a>(self)</dt></dl>
<dl><dt><a name="NullFormatter-set_locs"><strong>set_locs</strong></a>(self, locs)</dt></dl>
<hr>
Data and other attributes inherited from <a href="matplotlib.ticker.html#Formatter">Formatter</a>:<br>
<dl><dt><strong>locs</strong> = []</dl>
<hr>
Methods inherited from <a href="matplotlib.ticker.html#TickHelper">TickHelper</a>:<br>
<dl><dt><a name="NullFormatter-create_dummy_axis"><strong>create_dummy_axis</strong></a>(self)</dt></dl>
<dl><dt><a name="NullFormatter-set_axis"><strong>set_axis</strong></a>(self, axis)</dt></dl>
<dl><dt><a name="NullFormatter-set_bounds"><strong>set_bounds</strong></a>(self, vmin, vmax)</dt></dl>
<dl><dt><a name="NullFormatter-set_data_interval"><strong>set_data_interval</strong></a>(self, vmin, vmax)</dt></dl>
<dl><dt><a name="NullFormatter-set_view_interval"><strong>set_view_interval</strong></a>(self, vmin, vmax)</dt></dl>
<hr>
Data and other attributes inherited from <a href="matplotlib.ticker.html#TickHelper">TickHelper</a>:<br>
<dl><dt><strong>DummyAxis</strong> = <class matplotlib.ticker.DummyAxis at 0x14a2950></dl>
<dl><dt><strong>axis</strong> = None</dl>
</td></tr></table> <p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom> <br>
<font color="#000000" face="helvetica, arial"><a name="NullLocator">class <strong>NullLocator</strong></a>(<a href="matplotlib.ticker.html#Locator">Locator</a>)</font></td></tr>
<tr bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td>
<td colspan=2><tt>No ticks<br> </tt></td></tr>
<tr><td> </td>
<td width="100%"><dl><dt>Method resolution order:</dt>
<dd><a href="matplotlib.ticker.html#NullLocator">NullLocator</a></dd>
<dd><a href="matplotlib.ticker.html#Locator">Locator</a></dd>
<dd><a href="matplotlib.ticker.html#TickHelper">TickHelper</a></dd>
</dl>
<hr>
Methods defined here:<br>
<dl><dt><a name="NullLocator-__call__"><strong>__call__</strong></a>(self)</dt><dd><tt>Return the locations of the ticks</tt></dd></dl>
<hr>
Methods inherited from <a href="matplotlib.ticker.html#Locator">Locator</a>:<br>
<dl><dt><a name="NullLocator-autoscale"><strong>autoscale</strong></a>(self)</dt><dd><tt>autoscale the view limits</tt></dd></dl>
<dl><dt><a name="NullLocator-pan"><strong>pan</strong></a>(self, numsteps)</dt><dd><tt>Pan numticks (can be positive or negative)</tt></dd></dl>
<dl><dt><a name="NullLocator-refresh"><strong>refresh</strong></a>(self)</dt><dd><tt>refresh internal information based on current lim</tt></dd></dl>
<dl><dt><a name="NullLocator-zoom"><strong>zoom</strong></a>(self, direction)</dt><dd><tt>Zoom in/out on axis; if direction is >0 zoom in, else zoom out</tt></dd></dl>
<hr>
Methods inherited from <a href="matplotlib.ticker.html#TickHelper">TickHelper</a>:<br>
<dl><dt><a name="NullLocator-create_dummy_axis"><strong>create_dummy_axis</strong></a>(self)</dt></dl>
<dl><dt><a name="NullLocator-set_axis"><strong>set_axis</strong></a>(self, axis)</dt></dl>
<dl><dt><a name="NullLocator-set_bounds"><strong>set_bounds</strong></a>(self, vmin, vmax)</dt></dl>
<dl><dt><a name="NullLocator-set_data_interval"><strong>set_data_interval</strong></a>(self, vmin, vmax)</dt></dl>
<dl><dt><a name="NullLocator-set_view_interval"><strong>set_view_interval</strong></a>(self, vmin, vmax)</dt></dl>
<hr>
Data and other attributes inherited from <a href="matplotlib.ticker.html#TickHelper">TickHelper</a>:<br>
<dl><dt><strong>DummyAxis</strong> = <class matplotlib.ticker.DummyAxis at 0x14a2950></dl>
<dl><dt><strong>axis</strong> = None</dl>
</td></tr></table> <p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom> <br>
<font color="#000000" face="helvetica, arial"><a name="ScalarFormatter">class <strong>ScalarFormatter</strong></a>(<a href="matplotlib.ticker.html#Formatter">Formatter</a>)</font></td></tr>
<tr bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td>
<td colspan=2><tt>Tick location is a plain old number. If useOffset==True and the data range<br>
is much smaller than the data average, then an offset will be determined<br>
such that the tick labels are meaningful. Scientific notation is used for<br>
data < 1e-3 or data >= 1e4.<br> </tt></td></tr>
<tr><td> </td>
<td width="100%"><dl><dt>Method resolution order:</dt>
<dd><a href="matplotlib.ticker.html#ScalarFormatter">ScalarFormatter</a></dd>
<dd><a href="matplotlib.ticker.html#Formatter">Formatter</a></dd>
<dd><a href="matplotlib.ticker.html#TickHelper">TickHelper</a></dd>
</dl>
<hr>
Methods defined here:<br>
<dl><dt><a name="ScalarFormatter-__call__"><strong>__call__</strong></a>(self, x, pos<font color="#909090">=None</font>)</dt><dd><tt>Return the format for tick val x at position pos</tt></dd></dl>
<dl><dt><a name="ScalarFormatter-__init__"><strong>__init__</strong></a>(self, useOffset<font color="#909090">=True</font>, useMathText<font color="#909090">=False</font>)</dt></dl>
<dl><dt><a name="ScalarFormatter-fix_minus"><strong>fix_minus</strong></a>(self, s)</dt><dd><tt>use a unicode minus rather than hyphen</tt></dd></dl>
<dl><dt><a name="ScalarFormatter-format_data"><strong>format_data</strong></a>(self, value)</dt><dd><tt>return a formatted string representation of a number</tt></dd></dl>
<dl><dt><a name="ScalarFormatter-format_data_short"><strong>format_data_short</strong></a>(self, value)</dt><dd><tt>return a short formatted string representation of a number</tt></dd></dl>
<dl><dt><a name="ScalarFormatter-get_offset"><strong>get_offset</strong></a>(self)</dt><dd><tt>Return scientific notation, plus offset</tt></dd></dl>
<dl><dt><a name="ScalarFormatter-pprint_val"><strong>pprint_val</strong></a>(self, x)</dt></dl>
<dl><dt><a name="ScalarFormatter-set_locs"><strong>set_locs</strong></a>(self, locs)</dt><dd><tt>set the locations of the ticks</tt></dd></dl>
<dl><dt><a name="ScalarFormatter-set_powerlimits"><strong>set_powerlimits</strong></a>(self, lims)</dt><dd><tt>Sets size thresholds for scientific notation.<br>
<br>
e.g. xaxis.<a href="#ScalarFormatter-set_powerlimits">set_powerlimits</a>((-3, 4)) sets the pre-2007 default in<br>
which scientific notation is used for numbers less than<br>
1e-3 or greater than 1e4.<br>
See also <a href="#ScalarFormatter-set_scientific">set_scientific</a>().</tt></dd></dl>
<dl><dt><a name="ScalarFormatter-set_scientific"><strong>set_scientific</strong></a>(self, b)</dt><dd><tt>True or False to turn scientific notation on or off<br>
see also <a href="#ScalarFormatter-set_powerlimits">set_powerlimits</a>()</tt></dd></dl>
<hr>
Data and other attributes inherited from <a href="matplotlib.ticker.html#Formatter">Formatter</a>:<br>
<dl><dt><strong>locs</strong> = []</dl>
<hr>
Methods inherited from <a href="matplotlib.ticker.html#TickHelper">TickHelper</a>:<br>
<dl><dt><a name="ScalarFormatter-create_dummy_axis"><strong>create_dummy_axis</strong></a>(self)</dt></dl>
<dl><dt><a name="ScalarFormatter-set_axis"><strong>set_axis</strong></a>(self, axis)</dt></dl>
<dl><dt><a name="ScalarFormatter-set_bounds"><strong>set_bounds</strong></a>(self, vmin, vmax)</dt></dl>
<dl><dt><a name="ScalarFormatter-set_data_interval"><strong>set_data_interval</strong></a>(self, vmin, vmax)</dt></dl>
<dl><dt><a name="ScalarFormatter-set_view_interval"><strong>set_view_interval</strong></a>(self, vmin, vmax)</dt></dl>
<hr>
Data and other attributes inherited from <a href="matplotlib.ticker.html#TickHelper">TickHelper</a>:<br>
<dl><dt><strong>DummyAxis</strong> = <class matplotlib.ticker.DummyAxis at 0x14a2950></dl>
<dl><dt><strong>axis</strong> = None</dl>
</td></tr></table> <p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom> <br>
<font color="#000000" face="helvetica, arial"><a name="TickHelper">class <strong>TickHelper</strong></a></font></td></tr>
<tr><td bgcolor="#ffc8d8"><tt> </tt></td><td> </td>
<td width="100%">Methods defined here:<br>
<dl><dt><a name="TickHelper-create_dummy_axis"><strong>create_dummy_axis</strong></a>(self)</dt></dl>
<dl><dt><a name="TickHelper-set_axis"><strong>set_axis</strong></a>(self, axis)</dt></dl>
<dl><dt><a name="TickHelper-set_bounds"><strong>set_bounds</strong></a>(self, vmin, vmax)</dt></dl>
<dl><dt><a name="TickHelper-set_data_interval"><strong>set_data_interval</strong></a>(self, vmin, vmax)</dt></dl>
<dl><dt><a name="TickHelper-set_view_interval"><strong>set_view_interval</strong></a>(self, vmin, vmax)</dt></dl>
<hr>
Data and other attributes defined here:<br>
<dl><dt><strong>DummyAxis</strong> = <class matplotlib.ticker.DummyAxis at 0x14a2950></dl>
<dl><dt><strong>axis</strong> = None</dl>
</td></tr></table></td></tr></table><p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#55aa55">
<td colspan=3 valign=bottom> <br>
<font color="#ffffff" face="helvetica, arial"><big><strong>Data</strong></big></font></td></tr>
<tr><td bgcolor="#55aa55"><tt> </tt></td><td> </td>
<td width="100%"><strong>__all__</strong> = ('TickHelper', 'Formatter', 'FixedFormatter', 'NullFormatter', 'FuncFormatter', 'FormatStrFormatter', 'ScalarFormatter', 'LogFormatter', 'LogFormatterExponent', 'LogFormatterMathtext', 'Locator', 'IndexLocator', 'FixedLocator', 'NullLocator', 'LinearLocator', 'LogLocator', 'AutoLocator', 'MultipleLocator', 'MaxNLocator')</td></tr></table>
@footer@