1038 lines (813 with data), 64.8 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:/usr/local/lib/python2.3/site-packages/matplotlib/ticker.py">/usr/local/lib/python2.3/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. The most generally useful<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. The class <a href="#AutoLocator">AutoLocator</a> contains a <a href="#MultipleLocator">MultipleLocator</a> instance, and<br>
dynamically updates it based upon the data and zoom limits. This<br>
should provide much more intelligent automatic tick locations both in<br>
figure creation and in navigation than in prior versions of<br>
matplotlib.<br>
<br>
The basic generic locators are<br>
<br>
* <a href="#NullLocator">NullLocator</a> - No ticks<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>
* <a href="#AutoLocator">AutoLocator</a> - choose a <a href="#MultipleLocator">MultipleLocator</a> and dyamically reassign<br>
it for intelligent ticking during navigation<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>
* IndexFormatter - cycle through fixed strings by tick position<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.<br>
<br>
DEVELOPERS NOTE<br>
<br>
If you are implementing your own class or modifying one of these, it<br>
is critical that you use viewlim and dataInterval READ ONLY MODE so<br>
multiple axes can share the same locator w/o side effects!</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="math.html">math</a><br>
<a href="os.html">os</a><br>
</td><td width="25%" valign=top><a href="re.html">re</a><br>
<a href="sys.html">sys</a><br>
</td><td width="25%" valign=top><a href="time.html">time</a><br>
</td><td width="25%" valign=top></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#Base">Base</a>
</font></dt><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#NullFormatter">NullFormatter</a>
</font></dt><dt><font face="helvetica, arial"><a href="matplotlib.ticker.html#ScalarFormatter">ScalarFormatter</a>
</font></dt><dd>
<dl>
<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>
</dl>
</dd>
</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#AutoLocator">AutoLocator</a>
</font></dt><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#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#Locator">Locator</a>)</font></td></tr>
<tr bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td>
<td colspan=2><tt>On autoscale this class picks the best <a href="#MultipleLocator">MultipleLocator</a> to set the<br>
view limits and the tick locs.<br> </tt></td></tr>
<tr><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#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-__call__"><strong>__call__</strong></a>(self)</dt><dd><tt>Return the locations of the ticks</tt></dd></dl>
<dl><dt><a name="AutoLocator-__init__"><strong>__init__</strong></a>(self)</dt></dl>
<dl><dt><a name="AutoLocator-autoscale"><strong>autoscale</strong></a>(self)</dt><dd><tt>Try to choose the view limits intelligently</tt></dd></dl>
<dl><dt><a name="AutoLocator-get_locator"><strong>get_locator</strong></a>(self, d)</dt><dd><tt>pick the best locator based on a distance</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>
<hr>
Methods inherited from <a href="matplotlib.ticker.html#Locator">Locator</a>:<br>
<dl><dt><a name="AutoLocator-nonsingular"><strong>nonsingular</strong></a>(self, vmin, vmax)</dt></dl>
<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-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-set_data_interval"><strong>set_data_interval</strong></a>(self, interval)</dt></dl>
<dl><dt><a name="AutoLocator-set_view_interval"><strong>set_view_interval</strong></a>(self, interval)</dt></dl>
<dl><dt><a name="AutoLocator-verify_intervals"><strong>verify_intervals</strong></a>(self)</dt></dl>
<hr>
Data and other attributes inherited from <a href="matplotlib.ticker.html#TickHelper">TickHelper</a>:<br>
<dl><dt><strong>dataInterval</strong> = None</dl>
<dl><dt><strong>viewInterval</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="Base">class <strong>Base</strong></a></font></td></tr>
<tr bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td>
<td colspan=2><tt>this solution has some hacks to deal with floating point inaccuracies<br> </tt></td></tr>
<tr><td> </td>
<td width="100%">Methods defined here:<br>
<dl><dt><a name="Base-__init__"><strong>__init__</strong></a>(self, base)</dt></dl>
<dl><dt><a name="Base-ge"><strong>ge</strong></a>(self, x)</dt><dd><tt>return the largest multiple of base >= x</tt></dd></dl>
<dl><dt><a name="Base-get_base"><strong>get_base</strong></a>(self)</dt></dl>
<dl><dt><a name="Base-gt"><strong>gt</strong></a>(self, x)</dt><dd><tt>return the largest multiple of base > x</tt></dd></dl>
<dl><dt><a name="Base-le"><strong>le</strong></a>(self, x)</dt><dd><tt>return the largest multiple of base <= x</tt></dd></dl>
<dl><dt><a name="Base-lt"><strong>lt</strong></a>(self, x)</dt><dd><tt>return the largest multiple of base < x</tt></dd></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">=0</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>
<hr>
Methods inherited from <a href="matplotlib.ticker.html#Formatter">Formatter</a>:<br>
<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> = None</dl>
<hr>
Methods inherited from <a href="matplotlib.ticker.html#TickHelper">TickHelper</a>:<br>
<dl><dt><a name="FixedFormatter-set_data_interval"><strong>set_data_interval</strong></a>(self, interval)</dt></dl>
<dl><dt><a name="FixedFormatter-set_view_interval"><strong>set_view_interval</strong></a>(self, interval)</dt></dl>
<dl><dt><a name="FixedFormatter-verify_intervals"><strong>verify_intervals</strong></a>(self)</dt></dl>
<hr>
Data and other attributes inherited from <a href="matplotlib.ticker.html#TickHelper">TickHelper</a>:<br>
<dl><dt><strong>dataInterval</strong> = None</dl>
<dl><dt><strong>viewInterval</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<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)</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-nonsingular"><strong>nonsingular</strong></a>(self, vmin, vmax)</dt></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-set_data_interval"><strong>set_data_interval</strong></a>(self, interval)</dt></dl>
<dl><dt><a name="FixedLocator-set_view_interval"><strong>set_view_interval</strong></a>(self, interval)</dt></dl>
<dl><dt><a name="FixedLocator-verify_intervals"><strong>verify_intervals</strong></a>(self)</dt></dl>
<hr>
Data and other attributes inherited from <a href="matplotlib.ticker.html#TickHelper">TickHelper</a>:<br>
<dl><dt><strong>dataInterval</strong> = None</dl>
<dl><dt><strong>viewInterval</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">=0</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-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> = None</dl>
<hr>
Methods inherited from <a href="matplotlib.ticker.html#TickHelper">TickHelper</a>:<br>
<dl><dt><a name="FormatStrFormatter-set_data_interval"><strong>set_data_interval</strong></a>(self, interval)</dt></dl>
<dl><dt><a name="FormatStrFormatter-set_view_interval"><strong>set_view_interval</strong></a>(self, interval)</dt></dl>
<dl><dt><a name="FormatStrFormatter-verify_intervals"><strong>verify_intervals</strong></a>(self)</dt></dl>
<hr>
Data and other attributes inherited from <a href="matplotlib.ticker.html#TickHelper">TickHelper</a>:<br>
<dl><dt><strong>dataInterval</strong> = None</dl>
<dl><dt><strong>viewInterval</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">=0</font>)</dt><dd><tt>Return the format for tick val x at position pos</tt></dd></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> = None</dl>
<hr>
Methods inherited from <a href="matplotlib.ticker.html#TickHelper">TickHelper</a>:<br>
<dl><dt><a name="Formatter-set_data_interval"><strong>set_data_interval</strong></a>(self, interval)</dt></dl>
<dl><dt><a name="Formatter-set_view_interval"><strong>set_view_interval</strong></a>(self, interval)</dt></dl>
<dl><dt><a name="Formatter-verify_intervals"><strong>verify_intervals</strong></a>(self)</dt></dl>
<hr>
Data and other attributes inherited from <a href="matplotlib.ticker.html#TickHelper">TickHelper</a>:<br>
<dl><dt><strong>dataInterval</strong> = None</dl>
<dl><dt><strong>viewInterval</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">=0</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-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> = None</dl>
<hr>
Methods inherited from <a href="matplotlib.ticker.html#TickHelper">TickHelper</a>:<br>
<dl><dt><a name="FuncFormatter-set_data_interval"><strong>set_data_interval</strong></a>(self, interval)</dt></dl>
<dl><dt><a name="FuncFormatter-set_view_interval"><strong>set_view_interval</strong></a>(self, interval)</dt></dl>
<dl><dt><a name="FuncFormatter-verify_intervals"><strong>verify_intervals</strong></a>(self)</dt></dl>
<hr>
Data and other attributes inherited from <a href="matplotlib.ticker.html#TickHelper">TickHelper</a>:<br>
<dl><dt><strong>dataInterval</strong> = None</dl>
<dl><dt><strong>viewInterval</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-nonsingular"><strong>nonsingular</strong></a>(self, vmin, vmax)</dt></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-set_data_interval"><strong>set_data_interval</strong></a>(self, interval)</dt></dl>
<dl><dt><a name="IndexLocator-set_view_interval"><strong>set_view_interval</strong></a>(self, interval)</dt></dl>
<dl><dt><a name="IndexLocator-verify_intervals"><strong>verify_intervals</strong></a>(self)</dt></dl>
<hr>
Data and other attributes inherited from <a href="matplotlib.ticker.html#TickHelper">TickHelper</a>:<br>
<dl><dt><strong>dataInterval</strong> = None</dl>
<dl><dt><strong>viewInterval</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 and 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-nonsingular"><strong>nonsingular</strong></a>(self, vmin, vmax)</dt></dl>
<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-set_data_interval"><strong>set_data_interval</strong></a>(self, interval)</dt></dl>
<dl><dt><a name="LinearLocator-set_view_interval"><strong>set_view_interval</strong></a>(self, interval)</dt></dl>
<dl><dt><a name="LinearLocator-verify_intervals"><strong>verify_intervals</strong></a>(self)</dt></dl>
<hr>
Data and other attributes inherited from <a href="matplotlib.ticker.html#TickHelper">TickHelper</a>:<br>
<dl><dt><strong>dataInterval</strong> = None</dl>
<dl><dt><strong>viewInterval</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> </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-nonsingular"><strong>nonsingular</strong></a>(self, vmin, vmax)</dt></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-set_data_interval"><strong>set_data_interval</strong></a>(self, interval)</dt></dl>
<dl><dt><a name="Locator-set_view_interval"><strong>set_view_interval</strong></a>(self, interval)</dt></dl>
<dl><dt><a name="Locator-verify_intervals"><strong>verify_intervals</strong></a>(self)</dt></dl>
<hr>
Data and other attributes inherited from <a href="matplotlib.ticker.html#TickHelper">TickHelper</a>:<br>
<dl><dt><strong>dataInterval</strong> = None</dl>
<dl><dt><strong>viewInterval</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#ScalarFormatter">ScalarFormatter</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#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="LogFormatter-__call__"><strong>__call__</strong></a>(self, x, pos<font color="#909090">=0</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-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>
<hr>
Methods inherited from <a href="matplotlib.ticker.html#ScalarFormatter">ScalarFormatter</a>:<br>
<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-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> = None</dl>
<hr>
Methods inherited from <a href="matplotlib.ticker.html#TickHelper">TickHelper</a>:<br>
<dl><dt><a name="LogFormatter-set_data_interval"><strong>set_data_interval</strong></a>(self, interval)</dt></dl>
<dl><dt><a name="LogFormatter-set_view_interval"><strong>set_view_interval</strong></a>(self, interval)</dt></dl>
<dl><dt><a name="LogFormatter-verify_intervals"><strong>verify_intervals</strong></a>(self)</dt></dl>
<hr>
Data and other attributes inherited from <a href="matplotlib.ticker.html#TickHelper">TickHelper</a>:<br>
<dl><dt><strong>dataInterval</strong> = None</dl>
<dl><dt><strong>viewInterval</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#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="LogFormatterExponent-__call__"><strong>__call__</strong></a>(self, x, pos<font color="#909090">=0</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-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>
<hr>
Methods inherited from <a href="matplotlib.ticker.html#ScalarFormatter">ScalarFormatter</a>:<br>
<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-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> = None</dl>
<hr>
Methods inherited from <a href="matplotlib.ticker.html#TickHelper">TickHelper</a>:<br>
<dl><dt><a name="LogFormatterExponent-set_data_interval"><strong>set_data_interval</strong></a>(self, interval)</dt></dl>
<dl><dt><a name="LogFormatterExponent-set_view_interval"><strong>set_view_interval</strong></a>(self, interval)</dt></dl>
<dl><dt><a name="LogFormatterExponent-verify_intervals"><strong>verify_intervals</strong></a>(self)</dt></dl>
<hr>
Data and other attributes inherited from <a href="matplotlib.ticker.html#TickHelper">TickHelper</a>:<br>
<dl><dt><strong>dataInterval</strong> = None</dl>
<dl><dt><strong>viewInterval</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#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="LogFormatterMathtext-__call__"><strong>__call__</strong></a>(self, x, pos<font color="#909090">=0</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-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>
<hr>
Methods inherited from <a href="matplotlib.ticker.html#ScalarFormatter">ScalarFormatter</a>:<br>
<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-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> = None</dl>
<hr>
Methods inherited from <a href="matplotlib.ticker.html#TickHelper">TickHelper</a>:<br>
<dl><dt><a name="LogFormatterMathtext-set_data_interval"><strong>set_data_interval</strong></a>(self, interval)</dt></dl>
<dl><dt><a name="LogFormatterMathtext-set_view_interval"><strong>set_view_interval</strong></a>(self, interval)</dt></dl>
<dl><dt><a name="LogFormatterMathtext-verify_intervals"><strong>verify_intervals</strong></a>(self)</dt></dl>
<hr>
Data and other attributes inherited from <a href="matplotlib.ticker.html#TickHelper">TickHelper</a>:<br>
<dl><dt><strong>dataInterval</strong> = None</dl>
<dl><dt><strong>viewInterval</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-nonsingular"><strong>nonsingular</strong></a>(self, vmin, vmax)</dt></dl>
<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-set_data_interval"><strong>set_data_interval</strong></a>(self, interval)</dt></dl>
<dl><dt><a name="LogLocator-set_view_interval"><strong>set_view_interval</strong></a>(self, interval)</dt></dl>
<dl><dt><a name="LogLocator-verify_intervals"><strong>verify_intervals</strong></a>(self)</dt></dl>
<hr>
Data and other attributes inherited from <a href="matplotlib.ticker.html#TickHelper">TickHelper</a>:<br>
<dl><dt><strong>dataInterval</strong> = None</dl>
<dl><dt><strong>viewInterval</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>
viewInterval<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-nonsingular"><strong>nonsingular</strong></a>(self, vmin, vmax)</dt></dl>
<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-set_data_interval"><strong>set_data_interval</strong></a>(self, interval)</dt></dl>
<dl><dt><a name="MultipleLocator-set_view_interval"><strong>set_view_interval</strong></a>(self, interval)</dt></dl>
<dl><dt><a name="MultipleLocator-verify_intervals"><strong>verify_intervals</strong></a>(self)</dt></dl>
<hr>
Data and other attributes inherited from <a href="matplotlib.ticker.html#TickHelper">TickHelper</a>:<br>
<dl><dt><strong>dataInterval</strong> = None</dl>
<dl><dt><strong>viewInterval</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">=0</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-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> = None</dl>
<hr>
Methods inherited from <a href="matplotlib.ticker.html#TickHelper">TickHelper</a>:<br>
<dl><dt><a name="NullFormatter-set_data_interval"><strong>set_data_interval</strong></a>(self, interval)</dt></dl>
<dl><dt><a name="NullFormatter-set_view_interval"><strong>set_view_interval</strong></a>(self, interval)</dt></dl>
<dl><dt><a name="NullFormatter-verify_intervals"><strong>verify_intervals</strong></a>(self)</dt></dl>
<hr>
Data and other attributes inherited from <a href="matplotlib.ticker.html#TickHelper">TickHelper</a>:<br>
<dl><dt><strong>dataInterval</strong> = None</dl>
<dl><dt><strong>viewInterval</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-nonsingular"><strong>nonsingular</strong></a>(self, vmin, vmax)</dt></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-set_data_interval"><strong>set_data_interval</strong></a>(self, interval)</dt></dl>
<dl><dt><a name="NullLocator-set_view_interval"><strong>set_view_interval</strong></a>(self, interval)</dt></dl>
<dl><dt><a name="NullLocator-verify_intervals"><strong>verify_intervals</strong></a>(self)</dt></dl>
<hr>
Data and other attributes inherited from <a href="matplotlib.ticker.html#TickHelper">TickHelper</a>:<br>
<dl><dt><strong>dataInterval</strong> = None</dl>
<dl><dt><strong>viewInterval</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 viewInterval is set, the<br>
formatter will use %d, %1.#f or %1.ef as appropriate. If it is<br>
not set, the formatter will do str conversion<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">=0</font>)</dt><dd><tt>Return the format for tick val x at position pos</tt></dd></dl>
<dl><dt><a name="ScalarFormatter-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="ScalarFormatter-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> = None</dl>
<hr>
Methods inherited from <a href="matplotlib.ticker.html#TickHelper">TickHelper</a>:<br>
<dl><dt><a name="ScalarFormatter-set_data_interval"><strong>set_data_interval</strong></a>(self, interval)</dt></dl>
<dl><dt><a name="ScalarFormatter-set_view_interval"><strong>set_view_interval</strong></a>(self, interval)</dt></dl>
<dl><dt><a name="ScalarFormatter-verify_intervals"><strong>verify_intervals</strong></a>(self)</dt></dl>
<hr>
Data and other attributes inherited from <a href="matplotlib.ticker.html#TickHelper">TickHelper</a>:<br>
<dl><dt><strong>dataInterval</strong> = None</dl>
<dl><dt><strong>viewInterval</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-set_data_interval"><strong>set_data_interval</strong></a>(self, interval)</dt></dl>
<dl><dt><a name="TickHelper-set_view_interval"><strong>set_view_interval</strong></a>(self, interval)</dt></dl>
<dl><dt><a name="TickHelper-verify_intervals"><strong>verify_intervals</strong></a>(self)</dt></dl>
<hr>
Data and other attributes defined here:<br>
<dl><dt><strong>dataInterval</strong> = None</dl>
<dl><dt><strong>viewInterval</strong> = None</dl>
</td></tr></table></td></tr></table><p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#eeaa77">
<td colspan=3 valign=bottom> <br>
<font color="#ffffff" face="helvetica, arial"><big><strong>Functions</strong></big></font></td></tr>
<tr><td bgcolor="#eeaa77"><tt> </tt></td><td> </td>
<td width="100%"><dl><dt><a name="-arange"><strong>arange</strong></a>(...)</dt><dd><tt><a href="#-arange">arange</a>(start, stop=None, step=1, typecode=None)<br>
<br>
Just like range() except it returns an array whose type can be<br>
specified by the keyword argument typecode.</tt></dd></dl>
<dl><dt><a name="-array"><strong>array</strong></a>(...)</dt><dd><tt><a href="#-array">array</a>(sequence, typecode=None, copy=1, savespace=0) will return a new array formed from the given (potentially nested) sequence with type given by typecode. If no typecode is given, then the type will be determined as the minimum type required to hold the objects in sequence. If copy is zero and sequence is already an array, a reference will be returned. If savespace is nonzero, the new array will maintain its precision in operations.</tt></dd></dl>
<dl><dt><a name="-closeto"><strong>closeto</strong></a>(x, y)</dt></dl>
<dl><dt><a name="-decade_down"><strong>decade_down</strong></a>(x, base<font color="#909090">=10</font>)</dt><dd><tt>floor x to the nearest lower decade</tt></dd></dl>
<dl><dt><a name="-decade_up"><strong>decade_up</strong></a>(x, base<font color="#909090">=10</font>)</dt><dd><tt>ceil x to the nearest higher decade</tt></dd></dl>
<dl><dt><a name="-is_decade"><strong>is_decade</strong></a>(x, base<font color="#909090">=10</font>)</dt></dl>
<dl><dt><a name="-take"><strong>take</strong></a>(...)</dt><dd><tt><a href="#-take">take</a>(a, indices, axis=0). Selects the elements in indices from array a along the given axis.</tt></dd></dl>
<dl><dt><a name="-zeros"><strong>zeros</strong></a>(...)</dt><dd><tt><a href="#-zeros">zeros</a>((d1,...,dn),typecode='l',savespace=0) will return a new array of shape (d1,...,dn) and type typecode with all it's entries initialized to zero. If savespace is nonzero the array will be a spacesaver array.</tt></dd></dl>
</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>Float</strong> = 'd'<br>
<strong>division</strong> = _Feature((2, 2, 0, 'alpha', 2), (3, 0, 0, 'alpha', 0), 8192)<br>
<strong>log</strong> = <ufunc 'log'><br>
<strong>logical_and</strong> = <ufunc 'logical_and'><br>
<strong>verbose</strong> = <matplotlib.Verbose instance></td></tr></table>
@footer@