1033 lines (734 with data), 70.9 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>.axis</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/lib/python2.4/site-packages/matplotlib/axis.py">/usr/lib/python2.4/site-packages/matplotlib/axis.py</a></font></td></tr></table>
<p><tt>Classes for the ticks and x and y axis</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="copy.html">copy</a><br>
</td><td width="25%" valign=top><a href="math.html">math</a><br>
</td><td width="25%" valign=top><a href="re.html">re</a><br>
</td><td width="25%" valign=top><a href="sys.html">sys</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.artist.html#Artist">matplotlib.artist.Artist</a>
</font></dt><dd>
<dl>
<dt><font face="helvetica, arial"><a href="matplotlib.axis.html#Axis">Axis</a>
</font></dt><dd>
<dl>
<dt><font face="helvetica, arial"><a href="matplotlib.axis.html#XAxis">XAxis</a>
</font></dt><dt><font face="helvetica, arial"><a href="matplotlib.axis.html#YAxis">YAxis</a>
</font></dt></dl>
</dd>
<dt><font face="helvetica, arial"><a href="matplotlib.axis.html#Tick">Tick</a>
</font></dt><dd>
<dl>
<dt><font face="helvetica, arial"><a href="matplotlib.axis.html#XTick">XTick</a>
</font></dt><dt><font face="helvetica, arial"><a href="matplotlib.axis.html#YTick">YTick</a>
</font></dt></dl>
</dd>
</dl>
</dd>
<dt><font face="helvetica, arial"><a href="matplotlib.axis.html#Ticker">Ticker</a>
</font></dt></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="Axis">class <strong>Axis</strong></a>(<a href="matplotlib.artist.html#Artist">matplotlib.artist.Artist</a>)</font></td></tr>
<tr bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td>
<td colspan=2><tt>Public attributes<br>
transData - transform data coords to display coords<br>
transAxis - transform axis coords to display coords<br> </tt></td></tr>
<tr><td> </td>
<td width="100%">Methods defined here:<br>
<dl><dt><a name="Axis-__init__"><strong>__init__</strong></a>(self, axes)</dt><dd><tt>Init the axis with the parent Axes instance</tt></dd></dl>
<dl><dt><a name="Axis-cla"><strong>cla</strong></a>(self)</dt><dd><tt>clear the current axis</tt></dd></dl>
<dl><dt><a name="Axis-draw"><strong>draw</strong></a>(self, renderer, *args, **kwargs)</dt><dd><tt>Draw the axis lines, grid lines, tick lines and labels</tt></dd></dl>
<dl><dt><a name="Axis-get_data_interval"><strong>get_data_interval</strong></a>(self)</dt><dd><tt>return the Interval instance for this axis data limits</tt></dd></dl>
<dl><dt><a name="Axis-get_gridlines"><strong>get_gridlines</strong></a>(self)</dt><dd><tt>Return the grid lines as a list of Line2D instance</tt></dd></dl>
<dl><dt><a name="Axis-get_label"><strong>get_label</strong></a>(self)</dt><dd><tt>Return the axis label as a Text instance</tt></dd></dl>
<dl><dt><a name="Axis-get_major_formatter"><strong>get_major_formatter</strong></a>(self)</dt><dd><tt>Get the formatter of the major ticker</tt></dd></dl>
<dl><dt><a name="Axis-get_major_locator"><strong>get_major_locator</strong></a>(self)</dt><dd><tt>Get the locator of the major ticker</tt></dd></dl>
<dl><dt><a name="Axis-get_major_ticks"><strong>get_major_ticks</strong></a>(self)</dt><dd><tt>get the tick instances; grow as necessary</tt></dd></dl>
<dl><dt><a name="Axis-get_minor_formatter"><strong>get_minor_formatter</strong></a>(self)</dt><dd><tt>Get the formatter of the minor ticker</tt></dd></dl>
<dl><dt><a name="Axis-get_minor_locator"><strong>get_minor_locator</strong></a>(self)</dt><dd><tt>Get the locator of the minor ticker</tt></dd></dl>
<dl><dt><a name="Axis-get_minor_ticks"><strong>get_minor_ticks</strong></a>(self)</dt><dd><tt>get the minor tick instances; grow as necessary</tt></dd></dl>
<dl><dt><a name="Axis-get_offset_text"><strong>get_offset_text</strong></a>(self)</dt><dd><tt>Return the axis offsetText as a Text instance</tt></dd></dl>
<dl><dt><a name="Axis-get_ticklabels"><strong>get_ticklabels</strong></a>(self)</dt><dd><tt>Return a list of Text instances for ticklabels</tt></dd></dl>
<dl><dt><a name="Axis-get_ticklines"><strong>get_ticklines</strong></a>(self)</dt><dd><tt>Return the ticklines lines as a list of Line2D instance</tt></dd></dl>
<dl><dt><a name="Axis-get_ticklocs"><strong>get_ticklocs</strong></a>(self)</dt><dd><tt>Get the tick locations in data coordinates as a Numeric array</tt></dd></dl>
<dl><dt><a name="Axis-get_view_interval"><strong>get_view_interval</strong></a>(self)</dt><dd><tt>return the Interval instance for this axis view limits</tt></dd></dl>
<dl><dt><a name="Axis-grid"><strong>grid</strong></a>(self, b<font color="#909090">=None</font>, which<font color="#909090">='major'</font>)</dt><dd><tt>Set the axis grid on or off; b is a boolean use which =<br>
'major' | 'minor' to set the grid for major or minor ticks<br>
<br>
if b is None, toggle the grid state</tt></dd></dl>
<dl><dt><a name="Axis-pan"><strong>pan</strong></a>(self, numsteps)</dt><dd><tt>Pan numticks (can be positive or negative)</tt></dd></dl>
<dl><dt><a name="Axis-set_major_formatter"><strong>set_major_formatter</strong></a>(self, formatter)</dt><dd><tt>Set the formatter of the major ticker<br>
<br>
ACCEPTS: A Formatter instance</tt></dd></dl>
<dl><dt><a name="Axis-set_major_locator"><strong>set_major_locator</strong></a>(self, locator)</dt><dd><tt>Set the locator of the major ticker<br>
<br>
ACCEPTS: a Locator instance</tt></dd></dl>
<dl><dt><a name="Axis-set_minor_formatter"><strong>set_minor_formatter</strong></a>(self, formatter)</dt><dd><tt>Set the formatter of the minor ticker<br>
<br>
ACCEPTS: A Formatter instance</tt></dd></dl>
<dl><dt><a name="Axis-set_minor_locator"><strong>set_minor_locator</strong></a>(self, locator)</dt><dd><tt>Set the locator of the minor ticker<br>
<br>
ACCEPTS: a Locator instance</tt></dd></dl>
<dl><dt><a name="Axis-set_ticklabels"><strong>set_ticklabels</strong></a>(self, ticklabels, *args, **kwargs)</dt><dd><tt>Set the text values of the tick labels. Return a list of Text<br>
instances.<br>
<br>
ACCEPTS: sequence of strings</tt></dd></dl>
<dl><dt><a name="Axis-set_ticks"><strong>set_ticks</strong></a>(self, ticks)</dt><dd><tt>Set the locations of the tick marks from sequence ticks<br>
<br>
ACCEPTS: sequence of floats</tt></dd></dl>
<dl><dt><a name="Axis-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>
Data and other attributes defined here:<br>
<dl><dt><strong>LABELPAD</strong> = 5</dl>
<dl><dt><strong>OFFSETTEXTPAD</strong> = 3</dl>
<hr>
Methods inherited from <a href="matplotlib.artist.html#Artist">matplotlib.artist.Artist</a>:<br>
<dl><dt><a name="Axis-add_callback"><strong>add_callback</strong></a>(self, func)</dt></dl>
<dl><dt><a name="Axis-get_alpha"><strong>get_alpha</strong></a>(self)</dt><dd><tt>Return the alpha value used for blending - not supported on all<br>
backends</tt></dd></dl>
<dl><dt><a name="Axis-get_clip_box"><strong>get_clip_box</strong></a>(self)</dt><dd><tt>Return artist clipbox</tt></dd></dl>
<dl><dt><a name="Axis-get_clip_on"><strong>get_clip_on</strong></a>(self)</dt><dd><tt>Return whether artist uses clipping</tt></dd></dl>
<dl><dt><a name="Axis-get_figure"><strong>get_figure</strong></a>(self)</dt><dd><tt>return the figure instance</tt></dd></dl>
<dl><dt><a name="Axis-get_transform"><strong>get_transform</strong></a>(self)</dt><dd><tt>return the Transformation instance used by this artist</tt></dd></dl>
<dl><dt><a name="Axis-get_visible"><strong>get_visible</strong></a>(self)</dt><dd><tt>return the artist's visiblity</tt></dd></dl>
<dl><dt><a name="Axis-get_zorder"><strong>get_zorder</strong></a>(self)</dt></dl>
<dl><dt><a name="Axis-is_figure_set"><strong>is_figure_set</strong></a>(self)</dt></dl>
<dl><dt><a name="Axis-is_transform_set"><strong>is_transform_set</strong></a>(self)</dt><dd><tt><a href="matplotlib.artist.html#Artist">Artist</a> has transform explicity let</tt></dd></dl>
<dl><dt><a name="Axis-pchanged"><strong>pchanged</strong></a>(self)</dt><dd><tt>fire event when property changed</tt></dd></dl>
<dl><dt><a name="Axis-remove_callback"><strong>remove_callback</strong></a>(self, oid)</dt></dl>
<dl><dt><a name="Axis-set"><strong>set</strong></a>(self, **kwargs)</dt><dd><tt>A tkstyle set command, pass kwargs to set properties</tt></dd></dl>
<dl><dt><a name="Axis-set_alpha"><strong>set_alpha</strong></a>(self, alpha)</dt><dd><tt>Set the alpha value used for blending - not supported on<br>
all backends<br>
<br>
ACCEPTS: float</tt></dd></dl>
<dl><dt><a name="Axis-set_clip_box"><strong>set_clip_box</strong></a>(self, clipbox)</dt><dd><tt>Set the artist's clip Bbox<br>
<br>
ACCEPTS: a matplotlib.transform.Bbox instance</tt></dd></dl>
<dl><dt><a name="Axis-set_clip_on"><strong>set_clip_on</strong></a>(self, b)</dt><dd><tt>Set whether artist uses clipping<br>
<br>
ACCEPTS: [True | False]</tt></dd></dl>
<dl><dt><a name="Axis-set_figure"><strong>set_figure</strong></a>(self, fig)</dt><dd><tt>Set the figure instance the artist belong to<br>
<br>
ACCEPTS: a matplotlib.figure.Figure instance</tt></dd></dl>
<dl><dt><a name="Axis-set_label"><strong>set_label</strong></a>(self, s)</dt><dd><tt>Set the line label to s for auto legend<br>
<br>
ACCEPTS: any string</tt></dd></dl>
<dl><dt><a name="Axis-set_lod"><strong>set_lod</strong></a>(self, on)</dt><dd><tt>Set Level of Detail on or off. If on, the artists may examine<br>
things like the pixel width of the axes and draw a subset of<br>
their contents accordingly<br>
<br>
ACCEPTS: [True | False]</tt></dd></dl>
<dl><dt><a name="Axis-set_transform"><strong>set_transform</strong></a>(self, t)</dt><dd><tt>set the Transformation instance used by this artist<br>
<br>
ACCEPTS: a matplotlib.transform transformation instance</tt></dd></dl>
<dl><dt><a name="Axis-set_visible"><strong>set_visible</strong></a>(self, b)</dt><dd><tt>set the artist's visiblity<br>
<br>
ACCEPTS: [True | False]</tt></dd></dl>
<dl><dt><a name="Axis-set_zorder"><strong>set_zorder</strong></a>(self, level)</dt><dd><tt>Set the zorder for the artist<br>
<br>
ACCEPTS: any number</tt></dd></dl>
<dl><dt><a name="Axis-update"><strong>update</strong></a>(self, props)</dt></dl>
<dl><dt><a name="Axis-update_from"><strong>update_from</strong></a>(self, other)</dt><dd><tt>copy properties from other to self</tt></dd></dl>
<hr>
Data and other attributes inherited from <a href="matplotlib.artist.html#Artist">matplotlib.artist.Artist</a>:<br>
<dl><dt><strong>aname</strong> = 'Artist'</dl>
<dl><dt><strong>zorder</strong> = 0</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="Tick">class <strong>Tick</strong></a>(<a href="matplotlib.artist.html#Artist">matplotlib.artist.Artist</a>)</font></td></tr>
<tr bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td>
<td colspan=2><tt>Abstract base class for the axis ticks, grid lines and labels<br>
<br>
1 refers to the bottom of the plot for xticks and the left for yticks<br>
2 refers to the top of the plot for xticks and the right for yticks<br>
<br>
Publicly accessible attributes<br>
<br>
tick1line : a Line2D instance<br>
tick2line : a Line2D instance<br>
gridline : a Line2D instance<br>
label1 : a Text instance<br>
label2 : a Text instance<br>
gridOn : a boolean which determines whether to draw the tickline<br>
tick1On : a boolean which determines whether to draw the 1st tickline<br>
tick2On : a boolean which determines whether to draw the 2nd tickline<br>
label1On : a boolean which determines whether to draw tick label<br>
label2On : a boolean which determines whether to draw tick label<br> </tt></td></tr>
<tr><td> </td>
<td width="100%">Methods defined here:<br>
<dl><dt><a name="Tick-__init__"><strong>__init__</strong></a>(self, axes, loc, label, size<font color="#909090">=None</font>, gridOn<font color="#909090">=None</font>, tick1On<font color="#909090">=True</font>, tick2On<font color="#909090">=True</font>, label1On<font color="#909090">=True</font>, label2On<font color="#909090">=False</font>, major<font color="#909090">=True</font>)</dt><dd><tt>bbox is the Bound2D bounding box in display coords of the Axes<br>
loc is the tick location in data coords<br>
size is the tick size in relative, axes coords</tt></dd></dl>
<dl><dt><a name="Tick-draw"><strong>draw</strong></a>(self, renderer)</dt></dl>
<dl><dt><a name="Tick-get_loc"><strong>get_loc</strong></a>(self)</dt><dd><tt>Return the tick location (data coords) as a scalar</tt></dd></dl>
<dl><dt><a name="Tick-get_pad"><strong>get_pad</strong></a>(self, val)</dt><dd><tt>Get the value of the tick label pad in points</tt></dd></dl>
<dl><dt><a name="Tick-get_view_interval"><strong>get_view_interval</strong></a>(self)</dt><dd><tt>return the view Interval instance for the axis tjis tick is ticking</tt></dd></dl>
<dl><dt><a name="Tick-set_label"><strong>set_label</strong></a>(self, s)</dt><dd><tt>Set the text of ticklabel<br>
<br>
ACCEPTS: str</tt></dd></dl>
<dl><dt><a name="Tick-set_label1"><strong>set_label1</strong></a>(self, s)</dt><dd><tt>Set the text of ticklabel<br>
<br>
ACCEPTS: str</tt></dd></dl>
<dl><dt><a name="Tick-set_label2"><strong>set_label2</strong></a>(self, s)</dt><dd><tt>Set the text of ticklabel2<br>
<br>
ACCEPTS: str</tt></dd></dl>
<dl><dt><a name="Tick-set_pad"><strong>set_pad</strong></a>(self, val)</dt><dd><tt>Set the tick label pad in points<br>
<br>
ACCEPTS: float</tt></dd></dl>
<dl><dt><a name="Tick-set_xy"><strong>set_xy</strong></a>(self, loc)</dt><dd><tt>Set the location of tick in data coords with scalar loc<br>
<br>
ACCEPTS: float</tt></dd></dl>
<hr>
Methods inherited from <a href="matplotlib.artist.html#Artist">matplotlib.artist.Artist</a>:<br>
<dl><dt><a name="Tick-add_callback"><strong>add_callback</strong></a>(self, func)</dt></dl>
<dl><dt><a name="Tick-get_alpha"><strong>get_alpha</strong></a>(self)</dt><dd><tt>Return the alpha value used for blending - not supported on all<br>
backends</tt></dd></dl>
<dl><dt><a name="Tick-get_clip_box"><strong>get_clip_box</strong></a>(self)</dt><dd><tt>Return artist clipbox</tt></dd></dl>
<dl><dt><a name="Tick-get_clip_on"><strong>get_clip_on</strong></a>(self)</dt><dd><tt>Return whether artist uses clipping</tt></dd></dl>
<dl><dt><a name="Tick-get_figure"><strong>get_figure</strong></a>(self)</dt><dd><tt>return the figure instance</tt></dd></dl>
<dl><dt><a name="Tick-get_label"><strong>get_label</strong></a>(self)</dt></dl>
<dl><dt><a name="Tick-get_transform"><strong>get_transform</strong></a>(self)</dt><dd><tt>return the Transformation instance used by this artist</tt></dd></dl>
<dl><dt><a name="Tick-get_visible"><strong>get_visible</strong></a>(self)</dt><dd><tt>return the artist's visiblity</tt></dd></dl>
<dl><dt><a name="Tick-get_zorder"><strong>get_zorder</strong></a>(self)</dt></dl>
<dl><dt><a name="Tick-is_figure_set"><strong>is_figure_set</strong></a>(self)</dt></dl>
<dl><dt><a name="Tick-is_transform_set"><strong>is_transform_set</strong></a>(self)</dt><dd><tt><a href="matplotlib.artist.html#Artist">Artist</a> has transform explicity let</tt></dd></dl>
<dl><dt><a name="Tick-pchanged"><strong>pchanged</strong></a>(self)</dt><dd><tt>fire event when property changed</tt></dd></dl>
<dl><dt><a name="Tick-remove_callback"><strong>remove_callback</strong></a>(self, oid)</dt></dl>
<dl><dt><a name="Tick-set"><strong>set</strong></a>(self, **kwargs)</dt><dd><tt>A tkstyle set command, pass kwargs to set properties</tt></dd></dl>
<dl><dt><a name="Tick-set_alpha"><strong>set_alpha</strong></a>(self, alpha)</dt><dd><tt>Set the alpha value used for blending - not supported on<br>
all backends<br>
<br>
ACCEPTS: float</tt></dd></dl>
<dl><dt><a name="Tick-set_clip_box"><strong>set_clip_box</strong></a>(self, clipbox)</dt><dd><tt>Set the artist's clip Bbox<br>
<br>
ACCEPTS: a matplotlib.transform.Bbox instance</tt></dd></dl>
<dl><dt><a name="Tick-set_clip_on"><strong>set_clip_on</strong></a>(self, b)</dt><dd><tt>Set whether artist uses clipping<br>
<br>
ACCEPTS: [True | False]</tt></dd></dl>
<dl><dt><a name="Tick-set_figure"><strong>set_figure</strong></a>(self, fig)</dt><dd><tt>Set the figure instance the artist belong to<br>
<br>
ACCEPTS: a matplotlib.figure.Figure instance</tt></dd></dl>
<dl><dt><a name="Tick-set_lod"><strong>set_lod</strong></a>(self, on)</dt><dd><tt>Set Level of Detail on or off. If on, the artists may examine<br>
things like the pixel width of the axes and draw a subset of<br>
their contents accordingly<br>
<br>
ACCEPTS: [True | False]</tt></dd></dl>
<dl><dt><a name="Tick-set_transform"><strong>set_transform</strong></a>(self, t)</dt><dd><tt>set the Transformation instance used by this artist<br>
<br>
ACCEPTS: a matplotlib.transform transformation instance</tt></dd></dl>
<dl><dt><a name="Tick-set_visible"><strong>set_visible</strong></a>(self, b)</dt><dd><tt>set the artist's visiblity<br>
<br>
ACCEPTS: [True | False]</tt></dd></dl>
<dl><dt><a name="Tick-set_zorder"><strong>set_zorder</strong></a>(self, level)</dt><dd><tt>Set the zorder for the artist<br>
<br>
ACCEPTS: any number</tt></dd></dl>
<dl><dt><a name="Tick-update"><strong>update</strong></a>(self, props)</dt></dl>
<dl><dt><a name="Tick-update_from"><strong>update_from</strong></a>(self, other)</dt><dd><tt>copy properties from other to self</tt></dd></dl>
<hr>
Data and other attributes inherited from <a href="matplotlib.artist.html#Artist">matplotlib.artist.Artist</a>:<br>
<dl><dt><strong>aname</strong> = 'Artist'</dl>
<dl><dt><strong>zorder</strong> = 0</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="Ticker">class <strong>Ticker</strong></a></font></td></tr>
<tr><td bgcolor="#ffc8d8"><tt> </tt></td><td> </td>
<td width="100%">Data and other attributes defined here:<br>
<dl><dt><strong>formatter</strong> = None</dl>
<dl><dt><strong>locator</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="XAxis">class <strong>XAxis</strong></a>(<a href="matplotlib.axis.html#Axis">Axis</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.axis.html#XAxis">XAxis</a></dd>
<dd><a href="matplotlib.axis.html#Axis">Axis</a></dd>
<dd><a href="matplotlib.artist.html#Artist">matplotlib.artist.Artist</a></dd>
</dl>
<hr>
Methods defined here:<br>
<dl><dt><a name="XAxis-get_data_interval"><strong>get_data_interval</strong></a>(self)</dt><dd><tt>return the Interval instance for this axis data limits</tt></dd></dl>
<dl><dt><a name="XAxis-get_label_position"><strong>get_label_position</strong></a>(self)</dt><dd><tt>Return the label position (top or bottom)</tt></dd></dl>
<dl><dt><a name="XAxis-get_ticks_position"><strong>get_ticks_position</strong></a>(self)</dt><dd><tt>Return the ticks position (top, bottom, default or unknown)</tt></dd></dl>
<dl><dt><a name="XAxis-get_view_interval"><strong>get_view_interval</strong></a>(self)</dt><dd><tt>return the Interval instance for this axis view limits</tt></dd></dl>
<dl><dt><a name="XAxis-set_label_position"><strong>set_label_position</strong></a>(self, position)</dt><dd><tt>Set the label position (top or bottom)<br>
<br>
ACCEPTS: [ 'top' | 'bottom' ]</tt></dd></dl>
<dl><dt><a name="XAxis-set_ticks_position"><strong>set_ticks_position</strong></a>(self, position)</dt><dd><tt>Set the ticks position (top, bottom, both or default)<br>
both sets the ticks to appear on both positions, but<br>
does not change the tick labels.<br>
default resets the tick positions to the default:<br>
ticks on both positions, labels at bottom.<br>
<br>
ACCEPTS: [ 'top' | 'bottom' | 'both' | 'default' ]</tt></dd></dl>
<dl><dt><a name="XAxis-tick_bottom"><strong>tick_bottom</strong></a>(self)</dt><dd><tt>use ticks only on bottom</tt></dd></dl>
<dl><dt><a name="XAxis-tick_top"><strong>tick_top</strong></a>(self)</dt><dd><tt>use ticks only on top</tt></dd></dl>
<hr>
Methods inherited from <a href="matplotlib.axis.html#Axis">Axis</a>:<br>
<dl><dt><a name="XAxis-__init__"><strong>__init__</strong></a>(self, axes)</dt><dd><tt>Init the axis with the parent Axes instance</tt></dd></dl>
<dl><dt><a name="XAxis-cla"><strong>cla</strong></a>(self)</dt><dd><tt>clear the current axis</tt></dd></dl>
<dl><dt><a name="XAxis-draw"><strong>draw</strong></a>(self, renderer, *args, **kwargs)</dt><dd><tt>Draw the axis lines, grid lines, tick lines and labels</tt></dd></dl>
<dl><dt><a name="XAxis-get_gridlines"><strong>get_gridlines</strong></a>(self)</dt><dd><tt>Return the grid lines as a list of Line2D instance</tt></dd></dl>
<dl><dt><a name="XAxis-get_label"><strong>get_label</strong></a>(self)</dt><dd><tt>Return the axis label as a Text instance</tt></dd></dl>
<dl><dt><a name="XAxis-get_major_formatter"><strong>get_major_formatter</strong></a>(self)</dt><dd><tt>Get the formatter of the major ticker</tt></dd></dl>
<dl><dt><a name="XAxis-get_major_locator"><strong>get_major_locator</strong></a>(self)</dt><dd><tt>Get the locator of the major ticker</tt></dd></dl>
<dl><dt><a name="XAxis-get_major_ticks"><strong>get_major_ticks</strong></a>(self)</dt><dd><tt>get the tick instances; grow as necessary</tt></dd></dl>
<dl><dt><a name="XAxis-get_minor_formatter"><strong>get_minor_formatter</strong></a>(self)</dt><dd><tt>Get the formatter of the minor ticker</tt></dd></dl>
<dl><dt><a name="XAxis-get_minor_locator"><strong>get_minor_locator</strong></a>(self)</dt><dd><tt>Get the locator of the minor ticker</tt></dd></dl>
<dl><dt><a name="XAxis-get_minor_ticks"><strong>get_minor_ticks</strong></a>(self)</dt><dd><tt>get the minor tick instances; grow as necessary</tt></dd></dl>
<dl><dt><a name="XAxis-get_offset_text"><strong>get_offset_text</strong></a>(self)</dt><dd><tt>Return the axis offsetText as a Text instance</tt></dd></dl>
<dl><dt><a name="XAxis-get_ticklabels"><strong>get_ticklabels</strong></a>(self)</dt><dd><tt>Return a list of Text instances for ticklabels</tt></dd></dl>
<dl><dt><a name="XAxis-get_ticklines"><strong>get_ticklines</strong></a>(self)</dt><dd><tt>Return the ticklines lines as a list of Line2D instance</tt></dd></dl>
<dl><dt><a name="XAxis-get_ticklocs"><strong>get_ticklocs</strong></a>(self)</dt><dd><tt>Get the tick locations in data coordinates as a Numeric array</tt></dd></dl>
<dl><dt><a name="XAxis-grid"><strong>grid</strong></a>(self, b<font color="#909090">=None</font>, which<font color="#909090">='major'</font>)</dt><dd><tt>Set the axis grid on or off; b is a boolean use which =<br>
'major' | 'minor' to set the grid for major or minor ticks<br>
<br>
if b is None, toggle the grid state</tt></dd></dl>
<dl><dt><a name="XAxis-pan"><strong>pan</strong></a>(self, numsteps)</dt><dd><tt>Pan numticks (can be positive or negative)</tt></dd></dl>
<dl><dt><a name="XAxis-set_major_formatter"><strong>set_major_formatter</strong></a>(self, formatter)</dt><dd><tt>Set the formatter of the major ticker<br>
<br>
ACCEPTS: A Formatter instance</tt></dd></dl>
<dl><dt><a name="XAxis-set_major_locator"><strong>set_major_locator</strong></a>(self, locator)</dt><dd><tt>Set the locator of the major ticker<br>
<br>
ACCEPTS: a Locator instance</tt></dd></dl>
<dl><dt><a name="XAxis-set_minor_formatter"><strong>set_minor_formatter</strong></a>(self, formatter)</dt><dd><tt>Set the formatter of the minor ticker<br>
<br>
ACCEPTS: A Formatter instance</tt></dd></dl>
<dl><dt><a name="XAxis-set_minor_locator"><strong>set_minor_locator</strong></a>(self, locator)</dt><dd><tt>Set the locator of the minor ticker<br>
<br>
ACCEPTS: a Locator instance</tt></dd></dl>
<dl><dt><a name="XAxis-set_ticklabels"><strong>set_ticklabels</strong></a>(self, ticklabels, *args, **kwargs)</dt><dd><tt>Set the text values of the tick labels. Return a list of Text<br>
instances.<br>
<br>
ACCEPTS: sequence of strings</tt></dd></dl>
<dl><dt><a name="XAxis-set_ticks"><strong>set_ticks</strong></a>(self, ticks)</dt><dd><tt>Set the locations of the tick marks from sequence ticks<br>
<br>
ACCEPTS: sequence of floats</tt></dd></dl>
<dl><dt><a name="XAxis-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>
Data and other attributes inherited from <a href="matplotlib.axis.html#Axis">Axis</a>:<br>
<dl><dt><strong>LABELPAD</strong> = 5</dl>
<dl><dt><strong>OFFSETTEXTPAD</strong> = 3</dl>
<hr>
Methods inherited from <a href="matplotlib.artist.html#Artist">matplotlib.artist.Artist</a>:<br>
<dl><dt><a name="XAxis-add_callback"><strong>add_callback</strong></a>(self, func)</dt></dl>
<dl><dt><a name="XAxis-get_alpha"><strong>get_alpha</strong></a>(self)</dt><dd><tt>Return the alpha value used for blending - not supported on all<br>
backends</tt></dd></dl>
<dl><dt><a name="XAxis-get_clip_box"><strong>get_clip_box</strong></a>(self)</dt><dd><tt>Return artist clipbox</tt></dd></dl>
<dl><dt><a name="XAxis-get_clip_on"><strong>get_clip_on</strong></a>(self)</dt><dd><tt>Return whether artist uses clipping</tt></dd></dl>
<dl><dt><a name="XAxis-get_figure"><strong>get_figure</strong></a>(self)</dt><dd><tt>return the figure instance</tt></dd></dl>
<dl><dt><a name="XAxis-get_transform"><strong>get_transform</strong></a>(self)</dt><dd><tt>return the Transformation instance used by this artist</tt></dd></dl>
<dl><dt><a name="XAxis-get_visible"><strong>get_visible</strong></a>(self)</dt><dd><tt>return the artist's visiblity</tt></dd></dl>
<dl><dt><a name="XAxis-get_zorder"><strong>get_zorder</strong></a>(self)</dt></dl>
<dl><dt><a name="XAxis-is_figure_set"><strong>is_figure_set</strong></a>(self)</dt></dl>
<dl><dt><a name="XAxis-is_transform_set"><strong>is_transform_set</strong></a>(self)</dt><dd><tt><a href="matplotlib.artist.html#Artist">Artist</a> has transform explicity let</tt></dd></dl>
<dl><dt><a name="XAxis-pchanged"><strong>pchanged</strong></a>(self)</dt><dd><tt>fire event when property changed</tt></dd></dl>
<dl><dt><a name="XAxis-remove_callback"><strong>remove_callback</strong></a>(self, oid)</dt></dl>
<dl><dt><a name="XAxis-set"><strong>set</strong></a>(self, **kwargs)</dt><dd><tt>A tkstyle set command, pass kwargs to set properties</tt></dd></dl>
<dl><dt><a name="XAxis-set_alpha"><strong>set_alpha</strong></a>(self, alpha)</dt><dd><tt>Set the alpha value used for blending - not supported on<br>
all backends<br>
<br>
ACCEPTS: float</tt></dd></dl>
<dl><dt><a name="XAxis-set_clip_box"><strong>set_clip_box</strong></a>(self, clipbox)</dt><dd><tt>Set the artist's clip Bbox<br>
<br>
ACCEPTS: a matplotlib.transform.Bbox instance</tt></dd></dl>
<dl><dt><a name="XAxis-set_clip_on"><strong>set_clip_on</strong></a>(self, b)</dt><dd><tt>Set whether artist uses clipping<br>
<br>
ACCEPTS: [True | False]</tt></dd></dl>
<dl><dt><a name="XAxis-set_figure"><strong>set_figure</strong></a>(self, fig)</dt><dd><tt>Set the figure instance the artist belong to<br>
<br>
ACCEPTS: a matplotlib.figure.Figure instance</tt></dd></dl>
<dl><dt><a name="XAxis-set_label"><strong>set_label</strong></a>(self, s)</dt><dd><tt>Set the line label to s for auto legend<br>
<br>
ACCEPTS: any string</tt></dd></dl>
<dl><dt><a name="XAxis-set_lod"><strong>set_lod</strong></a>(self, on)</dt><dd><tt>Set Level of Detail on or off. If on, the artists may examine<br>
things like the pixel width of the axes and draw a subset of<br>
their contents accordingly<br>
<br>
ACCEPTS: [True | False]</tt></dd></dl>
<dl><dt><a name="XAxis-set_transform"><strong>set_transform</strong></a>(self, t)</dt><dd><tt>set the Transformation instance used by this artist<br>
<br>
ACCEPTS: a matplotlib.transform transformation instance</tt></dd></dl>
<dl><dt><a name="XAxis-set_visible"><strong>set_visible</strong></a>(self, b)</dt><dd><tt>set the artist's visiblity<br>
<br>
ACCEPTS: [True | False]</tt></dd></dl>
<dl><dt><a name="XAxis-set_zorder"><strong>set_zorder</strong></a>(self, level)</dt><dd><tt>Set the zorder for the artist<br>
<br>
ACCEPTS: any number</tt></dd></dl>
<dl><dt><a name="XAxis-update"><strong>update</strong></a>(self, props)</dt></dl>
<dl><dt><a name="XAxis-update_from"><strong>update_from</strong></a>(self, other)</dt><dd><tt>copy properties from other to self</tt></dd></dl>
<hr>
Data and other attributes inherited from <a href="matplotlib.artist.html#Artist">matplotlib.artist.Artist</a>:<br>
<dl><dt><strong>aname</strong> = 'Artist'</dl>
<dl><dt><strong>zorder</strong> = 0</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="XTick">class <strong>XTick</strong></a>(<a href="matplotlib.axis.html#Tick">Tick</a>)</font></td></tr>
<tr bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td>
<td colspan=2><tt>Contains all the Artists needed to make an x tick - the tick line,<br>
the label text and the grid line<br> </tt></td></tr>
<tr><td> </td>
<td width="100%"><dl><dt>Method resolution order:</dt>
<dd><a href="matplotlib.axis.html#XTick">XTick</a></dd>
<dd><a href="matplotlib.axis.html#Tick">Tick</a></dd>
<dd><a href="matplotlib.artist.html#Artist">matplotlib.artist.Artist</a></dd>
</dl>
<hr>
Methods defined here:<br>
<dl><dt><a name="XTick-get_data_interval"><strong>get_data_interval</strong></a>(self)</dt><dd><tt>return the Interval instance for this axis data limits</tt></dd></dl>
<dl><dt><a name="XTick-get_view_interval"><strong>get_view_interval</strong></a>(self)</dt><dd><tt>return the Interval instance for this axis view limits</tt></dd></dl>
<dl><dt><a name="XTick-update_position"><strong>update_position</strong></a>(self, loc)</dt><dd><tt>Set the location of tick in data coords with scalar loc</tt></dd></dl>
<hr>
Methods inherited from <a href="matplotlib.axis.html#Tick">Tick</a>:<br>
<dl><dt><a name="XTick-__init__"><strong>__init__</strong></a>(self, axes, loc, label, size<font color="#909090">=None</font>, gridOn<font color="#909090">=None</font>, tick1On<font color="#909090">=True</font>, tick2On<font color="#909090">=True</font>, label1On<font color="#909090">=True</font>, label2On<font color="#909090">=False</font>, major<font color="#909090">=True</font>)</dt><dd><tt>bbox is the Bound2D bounding box in display coords of the Axes<br>
loc is the tick location in data coords<br>
size is the tick size in relative, axes coords</tt></dd></dl>
<dl><dt><a name="XTick-draw"><strong>draw</strong></a>(self, renderer)</dt></dl>
<dl><dt><a name="XTick-get_loc"><strong>get_loc</strong></a>(self)</dt><dd><tt>Return the tick location (data coords) as a scalar</tt></dd></dl>
<dl><dt><a name="XTick-get_pad"><strong>get_pad</strong></a>(self, val)</dt><dd><tt>Get the value of the tick label pad in points</tt></dd></dl>
<dl><dt><a name="XTick-set_label"><strong>set_label</strong></a>(self, s)</dt><dd><tt>Set the text of ticklabel<br>
<br>
ACCEPTS: str</tt></dd></dl>
<dl><dt><a name="XTick-set_label1"><strong>set_label1</strong></a>(self, s)</dt><dd><tt>Set the text of ticklabel<br>
<br>
ACCEPTS: str</tt></dd></dl>
<dl><dt><a name="XTick-set_label2"><strong>set_label2</strong></a>(self, s)</dt><dd><tt>Set the text of ticklabel2<br>
<br>
ACCEPTS: str</tt></dd></dl>
<dl><dt><a name="XTick-set_pad"><strong>set_pad</strong></a>(self, val)</dt><dd><tt>Set the tick label pad in points<br>
<br>
ACCEPTS: float</tt></dd></dl>
<dl><dt><a name="XTick-set_xy"><strong>set_xy</strong></a>(self, loc)</dt><dd><tt>Set the location of tick in data coords with scalar loc<br>
<br>
ACCEPTS: float</tt></dd></dl>
<hr>
Methods inherited from <a href="matplotlib.artist.html#Artist">matplotlib.artist.Artist</a>:<br>
<dl><dt><a name="XTick-add_callback"><strong>add_callback</strong></a>(self, func)</dt></dl>
<dl><dt><a name="XTick-get_alpha"><strong>get_alpha</strong></a>(self)</dt><dd><tt>Return the alpha value used for blending - not supported on all<br>
backends</tt></dd></dl>
<dl><dt><a name="XTick-get_clip_box"><strong>get_clip_box</strong></a>(self)</dt><dd><tt>Return artist clipbox</tt></dd></dl>
<dl><dt><a name="XTick-get_clip_on"><strong>get_clip_on</strong></a>(self)</dt><dd><tt>Return whether artist uses clipping</tt></dd></dl>
<dl><dt><a name="XTick-get_figure"><strong>get_figure</strong></a>(self)</dt><dd><tt>return the figure instance</tt></dd></dl>
<dl><dt><a name="XTick-get_label"><strong>get_label</strong></a>(self)</dt></dl>
<dl><dt><a name="XTick-get_transform"><strong>get_transform</strong></a>(self)</dt><dd><tt>return the Transformation instance used by this artist</tt></dd></dl>
<dl><dt><a name="XTick-get_visible"><strong>get_visible</strong></a>(self)</dt><dd><tt>return the artist's visiblity</tt></dd></dl>
<dl><dt><a name="XTick-get_zorder"><strong>get_zorder</strong></a>(self)</dt></dl>
<dl><dt><a name="XTick-is_figure_set"><strong>is_figure_set</strong></a>(self)</dt></dl>
<dl><dt><a name="XTick-is_transform_set"><strong>is_transform_set</strong></a>(self)</dt><dd><tt><a href="matplotlib.artist.html#Artist">Artist</a> has transform explicity let</tt></dd></dl>
<dl><dt><a name="XTick-pchanged"><strong>pchanged</strong></a>(self)</dt><dd><tt>fire event when property changed</tt></dd></dl>
<dl><dt><a name="XTick-remove_callback"><strong>remove_callback</strong></a>(self, oid)</dt></dl>
<dl><dt><a name="XTick-set"><strong>set</strong></a>(self, **kwargs)</dt><dd><tt>A tkstyle set command, pass kwargs to set properties</tt></dd></dl>
<dl><dt><a name="XTick-set_alpha"><strong>set_alpha</strong></a>(self, alpha)</dt><dd><tt>Set the alpha value used for blending - not supported on<br>
all backends<br>
<br>
ACCEPTS: float</tt></dd></dl>
<dl><dt><a name="XTick-set_clip_box"><strong>set_clip_box</strong></a>(self, clipbox)</dt><dd><tt>Set the artist's clip Bbox<br>
<br>
ACCEPTS: a matplotlib.transform.Bbox instance</tt></dd></dl>
<dl><dt><a name="XTick-set_clip_on"><strong>set_clip_on</strong></a>(self, b)</dt><dd><tt>Set whether artist uses clipping<br>
<br>
ACCEPTS: [True | False]</tt></dd></dl>
<dl><dt><a name="XTick-set_figure"><strong>set_figure</strong></a>(self, fig)</dt><dd><tt>Set the figure instance the artist belong to<br>
<br>
ACCEPTS: a matplotlib.figure.Figure instance</tt></dd></dl>
<dl><dt><a name="XTick-set_lod"><strong>set_lod</strong></a>(self, on)</dt><dd><tt>Set Level of Detail on or off. If on, the artists may examine<br>
things like the pixel width of the axes and draw a subset of<br>
their contents accordingly<br>
<br>
ACCEPTS: [True | False]</tt></dd></dl>
<dl><dt><a name="XTick-set_transform"><strong>set_transform</strong></a>(self, t)</dt><dd><tt>set the Transformation instance used by this artist<br>
<br>
ACCEPTS: a matplotlib.transform transformation instance</tt></dd></dl>
<dl><dt><a name="XTick-set_visible"><strong>set_visible</strong></a>(self, b)</dt><dd><tt>set the artist's visiblity<br>
<br>
ACCEPTS: [True | False]</tt></dd></dl>
<dl><dt><a name="XTick-set_zorder"><strong>set_zorder</strong></a>(self, level)</dt><dd><tt>Set the zorder for the artist<br>
<br>
ACCEPTS: any number</tt></dd></dl>
<dl><dt><a name="XTick-update"><strong>update</strong></a>(self, props)</dt></dl>
<dl><dt><a name="XTick-update_from"><strong>update_from</strong></a>(self, other)</dt><dd><tt>copy properties from other to self</tt></dd></dl>
<hr>
Data and other attributes inherited from <a href="matplotlib.artist.html#Artist">matplotlib.artist.Artist</a>:<br>
<dl><dt><strong>aname</strong> = 'Artist'</dl>
<dl><dt><strong>zorder</strong> = 0</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="YAxis">class <strong>YAxis</strong></a>(<a href="matplotlib.axis.html#Axis">Axis</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.axis.html#YAxis">YAxis</a></dd>
<dd><a href="matplotlib.axis.html#Axis">Axis</a></dd>
<dd><a href="matplotlib.artist.html#Artist">matplotlib.artist.Artist</a></dd>
</dl>
<hr>
Methods defined here:<br>
<dl><dt><a name="YAxis-get_data_interval"><strong>get_data_interval</strong></a>(self)</dt><dd><tt>return the Interval instance for this axis data limits</tt></dd></dl>
<dl><dt><a name="YAxis-get_label_position"><strong>get_label_position</strong></a>(self)</dt><dd><tt>Return the label position (left or right)</tt></dd></dl>
<dl><dt><a name="YAxis-get_ticks_position"><strong>get_ticks_position</strong></a>(self)</dt><dd><tt>Return the ticks position (left, right, both or unknown)</tt></dd></dl>
<dl><dt><a name="YAxis-get_view_interval"><strong>get_view_interval</strong></a>(self)</dt><dd><tt>return the Interval instance for this axis view limits</tt></dd></dl>
<dl><dt><a name="YAxis-set_label_position"><strong>set_label_position</strong></a>(self, position)</dt><dd><tt>Set the label position (left or right)<br>
<br>
ACCEPTS: [ 'left' | 'right' ]</tt></dd></dl>
<dl><dt><a name="YAxis-set_ticks_position"><strong>set_ticks_position</strong></a>(self, position)</dt><dd><tt>Set the ticks position (left, right, both or default)<br>
both sets the ticks to appear on both positions, but<br>
does not change the tick labels.<br>
default resets the tick positions to the default:<br>
ticks on both positions, labels on the left.<br>
<br>
ACCEPTS: [ 'left' | 'right' | 'both' | 'default' ]</tt></dd></dl>
<dl><dt><a name="YAxis-tick_left"><strong>tick_left</strong></a>(self)</dt><dd><tt>use ticks only on left</tt></dd></dl>
<dl><dt><a name="YAxis-tick_right"><strong>tick_right</strong></a>(self)</dt><dd><tt>use ticks only on right</tt></dd></dl>
<hr>
Methods inherited from <a href="matplotlib.axis.html#Axis">Axis</a>:<br>
<dl><dt><a name="YAxis-__init__"><strong>__init__</strong></a>(self, axes)</dt><dd><tt>Init the axis with the parent Axes instance</tt></dd></dl>
<dl><dt><a name="YAxis-cla"><strong>cla</strong></a>(self)</dt><dd><tt>clear the current axis</tt></dd></dl>
<dl><dt><a name="YAxis-draw"><strong>draw</strong></a>(self, renderer, *args, **kwargs)</dt><dd><tt>Draw the axis lines, grid lines, tick lines and labels</tt></dd></dl>
<dl><dt><a name="YAxis-get_gridlines"><strong>get_gridlines</strong></a>(self)</dt><dd><tt>Return the grid lines as a list of Line2D instance</tt></dd></dl>
<dl><dt><a name="YAxis-get_label"><strong>get_label</strong></a>(self)</dt><dd><tt>Return the axis label as a Text instance</tt></dd></dl>
<dl><dt><a name="YAxis-get_major_formatter"><strong>get_major_formatter</strong></a>(self)</dt><dd><tt>Get the formatter of the major ticker</tt></dd></dl>
<dl><dt><a name="YAxis-get_major_locator"><strong>get_major_locator</strong></a>(self)</dt><dd><tt>Get the locator of the major ticker</tt></dd></dl>
<dl><dt><a name="YAxis-get_major_ticks"><strong>get_major_ticks</strong></a>(self)</dt><dd><tt>get the tick instances; grow as necessary</tt></dd></dl>
<dl><dt><a name="YAxis-get_minor_formatter"><strong>get_minor_formatter</strong></a>(self)</dt><dd><tt>Get the formatter of the minor ticker</tt></dd></dl>
<dl><dt><a name="YAxis-get_minor_locator"><strong>get_minor_locator</strong></a>(self)</dt><dd><tt>Get the locator of the minor ticker</tt></dd></dl>
<dl><dt><a name="YAxis-get_minor_ticks"><strong>get_minor_ticks</strong></a>(self)</dt><dd><tt>get the minor tick instances; grow as necessary</tt></dd></dl>
<dl><dt><a name="YAxis-get_offset_text"><strong>get_offset_text</strong></a>(self)</dt><dd><tt>Return the axis offsetText as a Text instance</tt></dd></dl>
<dl><dt><a name="YAxis-get_ticklabels"><strong>get_ticklabels</strong></a>(self)</dt><dd><tt>Return a list of Text instances for ticklabels</tt></dd></dl>
<dl><dt><a name="YAxis-get_ticklines"><strong>get_ticklines</strong></a>(self)</dt><dd><tt>Return the ticklines lines as a list of Line2D instance</tt></dd></dl>
<dl><dt><a name="YAxis-get_ticklocs"><strong>get_ticklocs</strong></a>(self)</dt><dd><tt>Get the tick locations in data coordinates as a Numeric array</tt></dd></dl>
<dl><dt><a name="YAxis-grid"><strong>grid</strong></a>(self, b<font color="#909090">=None</font>, which<font color="#909090">='major'</font>)</dt><dd><tt>Set the axis grid on or off; b is a boolean use which =<br>
'major' | 'minor' to set the grid for major or minor ticks<br>
<br>
if b is None, toggle the grid state</tt></dd></dl>
<dl><dt><a name="YAxis-pan"><strong>pan</strong></a>(self, numsteps)</dt><dd><tt>Pan numticks (can be positive or negative)</tt></dd></dl>
<dl><dt><a name="YAxis-set_major_formatter"><strong>set_major_formatter</strong></a>(self, formatter)</dt><dd><tt>Set the formatter of the major ticker<br>
<br>
ACCEPTS: A Formatter instance</tt></dd></dl>
<dl><dt><a name="YAxis-set_major_locator"><strong>set_major_locator</strong></a>(self, locator)</dt><dd><tt>Set the locator of the major ticker<br>
<br>
ACCEPTS: a Locator instance</tt></dd></dl>
<dl><dt><a name="YAxis-set_minor_formatter"><strong>set_minor_formatter</strong></a>(self, formatter)</dt><dd><tt>Set the formatter of the minor ticker<br>
<br>
ACCEPTS: A Formatter instance</tt></dd></dl>
<dl><dt><a name="YAxis-set_minor_locator"><strong>set_minor_locator</strong></a>(self, locator)</dt><dd><tt>Set the locator of the minor ticker<br>
<br>
ACCEPTS: a Locator instance</tt></dd></dl>
<dl><dt><a name="YAxis-set_ticklabels"><strong>set_ticklabels</strong></a>(self, ticklabels, *args, **kwargs)</dt><dd><tt>Set the text values of the tick labels. Return a list of Text<br>
instances.<br>
<br>
ACCEPTS: sequence of strings</tt></dd></dl>
<dl><dt><a name="YAxis-set_ticks"><strong>set_ticks</strong></a>(self, ticks)</dt><dd><tt>Set the locations of the tick marks from sequence ticks<br>
<br>
ACCEPTS: sequence of floats</tt></dd></dl>
<dl><dt><a name="YAxis-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>
Data and other attributes inherited from <a href="matplotlib.axis.html#Axis">Axis</a>:<br>
<dl><dt><strong>LABELPAD</strong> = 5</dl>
<dl><dt><strong>OFFSETTEXTPAD</strong> = 3</dl>
<hr>
Methods inherited from <a href="matplotlib.artist.html#Artist">matplotlib.artist.Artist</a>:<br>
<dl><dt><a name="YAxis-add_callback"><strong>add_callback</strong></a>(self, func)</dt></dl>
<dl><dt><a name="YAxis-get_alpha"><strong>get_alpha</strong></a>(self)</dt><dd><tt>Return the alpha value used for blending - not supported on all<br>
backends</tt></dd></dl>
<dl><dt><a name="YAxis-get_clip_box"><strong>get_clip_box</strong></a>(self)</dt><dd><tt>Return artist clipbox</tt></dd></dl>
<dl><dt><a name="YAxis-get_clip_on"><strong>get_clip_on</strong></a>(self)</dt><dd><tt>Return whether artist uses clipping</tt></dd></dl>
<dl><dt><a name="YAxis-get_figure"><strong>get_figure</strong></a>(self)</dt><dd><tt>return the figure instance</tt></dd></dl>
<dl><dt><a name="YAxis-get_transform"><strong>get_transform</strong></a>(self)</dt><dd><tt>return the Transformation instance used by this artist</tt></dd></dl>
<dl><dt><a name="YAxis-get_visible"><strong>get_visible</strong></a>(self)</dt><dd><tt>return the artist's visiblity</tt></dd></dl>
<dl><dt><a name="YAxis-get_zorder"><strong>get_zorder</strong></a>(self)</dt></dl>
<dl><dt><a name="YAxis-is_figure_set"><strong>is_figure_set</strong></a>(self)</dt></dl>
<dl><dt><a name="YAxis-is_transform_set"><strong>is_transform_set</strong></a>(self)</dt><dd><tt><a href="matplotlib.artist.html#Artist">Artist</a> has transform explicity let</tt></dd></dl>
<dl><dt><a name="YAxis-pchanged"><strong>pchanged</strong></a>(self)</dt><dd><tt>fire event when property changed</tt></dd></dl>
<dl><dt><a name="YAxis-remove_callback"><strong>remove_callback</strong></a>(self, oid)</dt></dl>
<dl><dt><a name="YAxis-set"><strong>set</strong></a>(self, **kwargs)</dt><dd><tt>A tkstyle set command, pass kwargs to set properties</tt></dd></dl>
<dl><dt><a name="YAxis-set_alpha"><strong>set_alpha</strong></a>(self, alpha)</dt><dd><tt>Set the alpha value used for blending - not supported on<br>
all backends<br>
<br>
ACCEPTS: float</tt></dd></dl>
<dl><dt><a name="YAxis-set_clip_box"><strong>set_clip_box</strong></a>(self, clipbox)</dt><dd><tt>Set the artist's clip Bbox<br>
<br>
ACCEPTS: a matplotlib.transform.Bbox instance</tt></dd></dl>
<dl><dt><a name="YAxis-set_clip_on"><strong>set_clip_on</strong></a>(self, b)</dt><dd><tt>Set whether artist uses clipping<br>
<br>
ACCEPTS: [True | False]</tt></dd></dl>
<dl><dt><a name="YAxis-set_figure"><strong>set_figure</strong></a>(self, fig)</dt><dd><tt>Set the figure instance the artist belong to<br>
<br>
ACCEPTS: a matplotlib.figure.Figure instance</tt></dd></dl>
<dl><dt><a name="YAxis-set_label"><strong>set_label</strong></a>(self, s)</dt><dd><tt>Set the line label to s for auto legend<br>
<br>
ACCEPTS: any string</tt></dd></dl>
<dl><dt><a name="YAxis-set_lod"><strong>set_lod</strong></a>(self, on)</dt><dd><tt>Set Level of Detail on or off. If on, the artists may examine<br>
things like the pixel width of the axes and draw a subset of<br>
their contents accordingly<br>
<br>
ACCEPTS: [True | False]</tt></dd></dl>
<dl><dt><a name="YAxis-set_transform"><strong>set_transform</strong></a>(self, t)</dt><dd><tt>set the Transformation instance used by this artist<br>
<br>
ACCEPTS: a matplotlib.transform transformation instance</tt></dd></dl>
<dl><dt><a name="YAxis-set_visible"><strong>set_visible</strong></a>(self, b)</dt><dd><tt>set the artist's visiblity<br>
<br>
ACCEPTS: [True | False]</tt></dd></dl>
<dl><dt><a name="YAxis-set_zorder"><strong>set_zorder</strong></a>(self, level)</dt><dd><tt>Set the zorder for the artist<br>
<br>
ACCEPTS: any number</tt></dd></dl>
<dl><dt><a name="YAxis-update"><strong>update</strong></a>(self, props)</dt></dl>
<dl><dt><a name="YAxis-update_from"><strong>update_from</strong></a>(self, other)</dt><dd><tt>copy properties from other to self</tt></dd></dl>
<hr>
Data and other attributes inherited from <a href="matplotlib.artist.html#Artist">matplotlib.artist.Artist</a>:<br>
<dl><dt><strong>aname</strong> = 'Artist'</dl>
<dl><dt><strong>zorder</strong> = 0</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="YTick">class <strong>YTick</strong></a>(<a href="matplotlib.axis.html#Tick">Tick</a>)</font></td></tr>
<tr bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td>
<td colspan=2><tt>Contains all the Artists needed to make a Y tick - the tick line,<br>
the label text and the grid line<br> </tt></td></tr>
<tr><td> </td>
<td width="100%"><dl><dt>Method resolution order:</dt>
<dd><a href="matplotlib.axis.html#YTick">YTick</a></dd>
<dd><a href="matplotlib.axis.html#Tick">Tick</a></dd>
<dd><a href="matplotlib.artist.html#Artist">matplotlib.artist.Artist</a></dd>
</dl>
<hr>
Methods defined here:<br>
<dl><dt><a name="YTick-get_data_interval"><strong>get_data_interval</strong></a>(self)</dt><dd><tt>return the Interval instance for this axis data limits</tt></dd></dl>
<dl><dt><a name="YTick-get_view_interval"><strong>get_view_interval</strong></a>(self)</dt><dd><tt>return the Interval instance for this axis view limits</tt></dd></dl>
<dl><dt><a name="YTick-update_position"><strong>update_position</strong></a>(self, loc)</dt><dd><tt>Set the location of tick in data coords with scalar loc</tt></dd></dl>
<hr>
Methods inherited from <a href="matplotlib.axis.html#Tick">Tick</a>:<br>
<dl><dt><a name="YTick-__init__"><strong>__init__</strong></a>(self, axes, loc, label, size<font color="#909090">=None</font>, gridOn<font color="#909090">=None</font>, tick1On<font color="#909090">=True</font>, tick2On<font color="#909090">=True</font>, label1On<font color="#909090">=True</font>, label2On<font color="#909090">=False</font>, major<font color="#909090">=True</font>)</dt><dd><tt>bbox is the Bound2D bounding box in display coords of the Axes<br>
loc is the tick location in data coords<br>
size is the tick size in relative, axes coords</tt></dd></dl>
<dl><dt><a name="YTick-draw"><strong>draw</strong></a>(self, renderer)</dt></dl>
<dl><dt><a name="YTick-get_loc"><strong>get_loc</strong></a>(self)</dt><dd><tt>Return the tick location (data coords) as a scalar</tt></dd></dl>
<dl><dt><a name="YTick-get_pad"><strong>get_pad</strong></a>(self, val)</dt><dd><tt>Get the value of the tick label pad in points</tt></dd></dl>
<dl><dt><a name="YTick-set_label"><strong>set_label</strong></a>(self, s)</dt><dd><tt>Set the text of ticklabel<br>
<br>
ACCEPTS: str</tt></dd></dl>
<dl><dt><a name="YTick-set_label1"><strong>set_label1</strong></a>(self, s)</dt><dd><tt>Set the text of ticklabel<br>
<br>
ACCEPTS: str</tt></dd></dl>
<dl><dt><a name="YTick-set_label2"><strong>set_label2</strong></a>(self, s)</dt><dd><tt>Set the text of ticklabel2<br>
<br>
ACCEPTS: str</tt></dd></dl>
<dl><dt><a name="YTick-set_pad"><strong>set_pad</strong></a>(self, val)</dt><dd><tt>Set the tick label pad in points<br>
<br>
ACCEPTS: float</tt></dd></dl>
<dl><dt><a name="YTick-set_xy"><strong>set_xy</strong></a>(self, loc)</dt><dd><tt>Set the location of tick in data coords with scalar loc<br>
<br>
ACCEPTS: float</tt></dd></dl>
<hr>
Methods inherited from <a href="matplotlib.artist.html#Artist">matplotlib.artist.Artist</a>:<br>
<dl><dt><a name="YTick-add_callback"><strong>add_callback</strong></a>(self, func)</dt></dl>
<dl><dt><a name="YTick-get_alpha"><strong>get_alpha</strong></a>(self)</dt><dd><tt>Return the alpha value used for blending - not supported on all<br>
backends</tt></dd></dl>
<dl><dt><a name="YTick-get_clip_box"><strong>get_clip_box</strong></a>(self)</dt><dd><tt>Return artist clipbox</tt></dd></dl>
<dl><dt><a name="YTick-get_clip_on"><strong>get_clip_on</strong></a>(self)</dt><dd><tt>Return whether artist uses clipping</tt></dd></dl>
<dl><dt><a name="YTick-get_figure"><strong>get_figure</strong></a>(self)</dt><dd><tt>return the figure instance</tt></dd></dl>
<dl><dt><a name="YTick-get_label"><strong>get_label</strong></a>(self)</dt></dl>
<dl><dt><a name="YTick-get_transform"><strong>get_transform</strong></a>(self)</dt><dd><tt>return the Transformation instance used by this artist</tt></dd></dl>
<dl><dt><a name="YTick-get_visible"><strong>get_visible</strong></a>(self)</dt><dd><tt>return the artist's visiblity</tt></dd></dl>
<dl><dt><a name="YTick-get_zorder"><strong>get_zorder</strong></a>(self)</dt></dl>
<dl><dt><a name="YTick-is_figure_set"><strong>is_figure_set</strong></a>(self)</dt></dl>
<dl><dt><a name="YTick-is_transform_set"><strong>is_transform_set</strong></a>(self)</dt><dd><tt><a href="matplotlib.artist.html#Artist">Artist</a> has transform explicity let</tt></dd></dl>
<dl><dt><a name="YTick-pchanged"><strong>pchanged</strong></a>(self)</dt><dd><tt>fire event when property changed</tt></dd></dl>
<dl><dt><a name="YTick-remove_callback"><strong>remove_callback</strong></a>(self, oid)</dt></dl>
<dl><dt><a name="YTick-set"><strong>set</strong></a>(self, **kwargs)</dt><dd><tt>A tkstyle set command, pass kwargs to set properties</tt></dd></dl>
<dl><dt><a name="YTick-set_alpha"><strong>set_alpha</strong></a>(self, alpha)</dt><dd><tt>Set the alpha value used for blending - not supported on<br>
all backends<br>
<br>
ACCEPTS: float</tt></dd></dl>
<dl><dt><a name="YTick-set_clip_box"><strong>set_clip_box</strong></a>(self, clipbox)</dt><dd><tt>Set the artist's clip Bbox<br>
<br>
ACCEPTS: a matplotlib.transform.Bbox instance</tt></dd></dl>
<dl><dt><a name="YTick-set_clip_on"><strong>set_clip_on</strong></a>(self, b)</dt><dd><tt>Set whether artist uses clipping<br>
<br>
ACCEPTS: [True | False]</tt></dd></dl>
<dl><dt><a name="YTick-set_figure"><strong>set_figure</strong></a>(self, fig)</dt><dd><tt>Set the figure instance the artist belong to<br>
<br>
ACCEPTS: a matplotlib.figure.Figure instance</tt></dd></dl>
<dl><dt><a name="YTick-set_lod"><strong>set_lod</strong></a>(self, on)</dt><dd><tt>Set Level of Detail on or off. If on, the artists may examine<br>
things like the pixel width of the axes and draw a subset of<br>
their contents accordingly<br>
<br>
ACCEPTS: [True | False]</tt></dd></dl>
<dl><dt><a name="YTick-set_transform"><strong>set_transform</strong></a>(self, t)</dt><dd><tt>set the Transformation instance used by this artist<br>
<br>
ACCEPTS: a matplotlib.transform transformation instance</tt></dd></dl>
<dl><dt><a name="YTick-set_visible"><strong>set_visible</strong></a>(self, b)</dt><dd><tt>set the artist's visiblity<br>
<br>
ACCEPTS: [True | False]</tt></dd></dl>
<dl><dt><a name="YTick-set_zorder"><strong>set_zorder</strong></a>(self, level)</dt><dd><tt>Set the zorder for the artist<br>
<br>
ACCEPTS: any number</tt></dd></dl>
<dl><dt><a name="YTick-update"><strong>update</strong></a>(self, props)</dt></dl>
<dl><dt><a name="YTick-update_from"><strong>update_from</strong></a>(self, other)</dt><dd><tt>copy properties from other to self</tt></dd></dl>
<hr>
Data and other attributes inherited from <a href="matplotlib.artist.html#Artist">matplotlib.artist.Artist</a>:<br>
<dl><dt><strong>aname</strong> = 'Artist'</dl>
<dl><dt><strong>zorder</strong> = 0</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="-Value"><strong>Value</strong></a>(...)</dt><dd><tt><a href="#-Value">Value</a>(x)</tt></dd></dl>
<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="-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>TICKDOWN</strong> = 3<br>
<strong>TICKLEFT</strong> = 0<br>
<strong>TICKRIGHT</strong> = 1<br>
<strong>TICKUP</strong> = 2<br>
<strong>cos</strong> = <ufunc 'cos'><br>
<strong>division</strong> = _Feature((2, 2, 0, 'alpha', 2), (3, 0, 0, 'alpha', 0), 8192)<br>
<strong>log10</strong> = <ufunc 'log10'><br>
<strong>logical_and</strong> = <ufunc 'logical_and'><br>
<strong>pi</strong> = 3.1415926535897931<br>
<strong>rcParams</strong> = {'axes.edgecolor': 'black', 'axes.facecolor': 'white', 'axes.grid': False, 'axes.hold': True, 'axes.labelcolor': 'black', 'axes.labelsize': 12.0, 'axes.linewidth': 1.0, 'axes.titlesize': 14.0, 'backend': 'GTKAgg', 'datapath': '/usr/share/matplotlib', ...}<br>
<strong>sin</strong> = <ufunc 'sin'><br>
<strong>sqrt</strong> = <ufunc 'sqrt'><br>
<strong>tan</strong> = <ufunc 'tan'></td></tr></table>
@footer@