1863 lines (1373 with data), 136.1 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:/home/jdhunter/dev/lib64/python2.5/site-packages/matplotlib/axis.py">/home/jdhunter/dev/lib64/python2.5/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="matplotlib.units.html">matplotlib.units</a><br>
</td><td width="25%" valign=top></td><td width="25%" valign=top></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.artist.html#Artist">matplotlib.artist.Artist</a>(<a href="__builtin__.html#object">__builtin__.object</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%"><dl><dt>Method resolution order:</dt>
<dd><a href="matplotlib.axis.html#Axis">Axis</a></dd>
<dd><a href="matplotlib.artist.html#Artist">matplotlib.artist.Artist</a></dd>
<dd><a href="__builtin__.html#object">__builtin__.object</a></dd>
</dl>
<hr>
Methods defined here:<br>
<dl><dt><a name="Axis-__init__"><strong>__init__</strong></a>(self, axes, pickradius<font color="#909090">=15</font>)</dt><dd><tt>Init the axis with the parent Axes instance</tt></dd></dl>
<dl><dt><a name="Axis-__str__"><strong>__str__</strong></a>(self)</dt></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-convert_units"><strong>convert_units</strong></a>(self, x)</dt></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_children"><strong>get_children</strong></a>(self)</dt></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, numticks<font color="#909090">=None</font>)</dt><dd><tt>get the tick instances; grow as necessary</tt></dd></dl>
<dl><dt><a name="Axis-get_majorticklabels"><strong>get_majorticklabels</strong></a>(self)</dt><dd><tt>Return a list of Text instances for the major ticklabels</tt></dd></dl>
<dl><dt><a name="Axis-get_majorticklines"><strong>get_majorticklines</strong></a>(self)</dt><dd><tt>Return the major tick lines as a list of Line2D instances</tt></dd></dl>
<dl><dt><a name="Axis-get_majorticklocs"><strong>get_majorticklocs</strong></a>(self)</dt><dd><tt>Get the major tick locations in data coordinates as a numpy array</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, numticks<font color="#909090">=None</font>)</dt><dd><tt>get the minor tick instances; grow as necessary</tt></dd></dl>
<dl><dt><a name="Axis-get_minorticklabels"><strong>get_minorticklabels</strong></a>(self)</dt><dd><tt>Return a list of Text instances for the minor ticklabels</tt></dd></dl>
<dl><dt><a name="Axis-get_minorticklines"><strong>get_minorticklines</strong></a>(self)</dt><dd><tt>Return the minor tick lines as a list of Line2D instances</tt></dd></dl>
<dl><dt><a name="Axis-get_minorticklocs"><strong>get_minorticklocs</strong></a>(self)</dt><dd><tt>Get the minor tick locations in data coordinates as a numpy array</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_pickradius"><strong>get_pickradius</strong></a>(self)</dt><dd><tt>Return the depth of the axis used by the picker</tt></dd></dl>
<dl><dt><a name="Axis-get_scale"><strong>get_scale</strong></a>(self)</dt></dl>
<dl><dt><a name="Axis-get_ticklabel_extents"><strong>get_ticklabel_extents</strong></a>(self, renderer)</dt><dd><tt>Get the extents of the tick labels on either side<br>
of the axes.</tt></dd></dl>
<dl><dt><a name="Axis-get_ticklabels"><strong>get_ticklabels</strong></a>(self, minor<font color="#909090">=False</font>)</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, minor<font color="#909090">=False</font>)</dt><dd><tt>Return the tick lines as a list of Line2D instances</tt></dd></dl>
<dl><dt><a name="Axis-get_ticklocs"><strong>get_ticklocs</strong></a>(self, minor<font color="#909090">=False</font>)</dt><dd><tt>Get the tick locations in data coordinates as a numpy array</tt></dd></dl>
<dl><dt><a name="Axis-get_transform"><strong>get_transform</strong></a>(self)</dt></dl>
<dl><dt><a name="Axis-get_units"><strong>get_units</strong></a>(self)</dt><dd><tt>return the units for axis</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>, **kwargs)</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 and len(kwargs)==0, toggle the grid state. If<br>
kwargs are supplied, it is assumed you want the grid on and b<br>
will be set to True<br>
<br>
kwargs are used to set the line properties of the grids, eg,<br>
<br>
xax.<a href="#Axis-grid">grid</a>(color='r', linestyle='-', linewidth=2)</tt></dd></dl>
<dl><dt><a name="Axis-have_units"><strong>have_units</strong></a>(self)</dt></dl>
<dl><dt><a name="Axis-iter_ticks"><strong>iter_ticks</strong></a>(self)</dt><dd><tt>Iterate through all of the major and minor ticks.</tt></dd></dl>
<dl><dt><a name="Axis-limit_range_for_scale"><strong>limit_range_for_scale</strong></a>(self, vmin, vmax)</dt></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_clip_path"><strong>set_clip_path</strong></a>(self, clippath, transform<font color="#909090">=None</font>)</dt></dl>
<dl><dt><a name="Axis-set_data_interval"><strong>set_data_interval</strong></a>(self)</dt><dd><tt>Set the axis data limits</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_pickradius"><strong>set_pickradius</strong></a>(self, pickradius)</dt><dd><tt>Set the depth of the axis used by the picker<br>
<br>
ACCEPTS: a distance in points</tt></dd></dl>
<dl><dt><a name="Axis-set_scale"><strong>set_scale</strong></a>(self, value, **kwargs)</dt></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. Use kwarg minor=True to select minor ticks.<br>
<br>
ACCEPTS: sequence of strings</tt></dd></dl>
<dl><dt><a name="Axis-set_ticks"><strong>set_ticks</strong></a>(self, ticks, minor<font color="#909090">=False</font>)</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-set_units"><strong>set_units</strong></a>(self, u)</dt><dd><tt>set the units for axis<br>
<br>
ACCEPTS: a units tag</tt></dd></dl>
<dl><dt><a name="Axis-set_view_interval"><strong>set_view_interval</strong></a>(self, vmin, vmax, ignore<font color="#909090">=False</font>)</dt></dl>
<dl><dt><a name="Axis-update_units"><strong>update_units</strong></a>(self, data)</dt><dd><tt>introspect data for units converter and update the<br>
axis.converter instance if necessary. Return true is data is<br>
registered for unit conversion</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-contains"><strong>contains</strong></a>(self, mouseevent)</dt><dd><tt>Test whether the artist contains the mouse event.<br>
<br>
Returns the truth value and a dictionary of artist specific details of<br>
selection, such as which points are contained in the pick radius. See<br>
individual artists for details.</tt></dd></dl>
<dl><dt><a name="Axis-convert_xunits"><strong>convert_xunits</strong></a>(self, x)</dt><dd><tt>for artists in an axes, if the xaxis as units support,<br>
convert x using xaxis unit type</tt></dd></dl>
<dl><dt><a name="Axis-convert_yunits"><strong>convert_yunits</strong></a>(self, y)</dt><dd><tt>for artists in an axes, if the yaxis as units support,<br>
convert y using yaxis unit type</tt></dd></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_animated"><strong>get_animated</strong></a>(self)</dt><dd><tt>return the artist's animated state</tt></dd></dl>
<dl><dt><a name="Axis-get_axes"><strong>get_axes</strong></a>(self)</dt><dd><tt>return the axes instance the artist resides in, or None</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_clip_path"><strong>get_clip_path</strong></a>(self)</dt><dd><tt>Return artist clip path</tt></dd></dl>
<dl><dt><a name="Axis-get_contains"><strong>get_contains</strong></a>(self)</dt><dd><tt>return the _contains test used by the artist, or None for default.</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_picker"><strong>get_picker</strong></a>(self)</dt><dd><tt>return the Pickeration instance used by this artist</tt></dd></dl>
<dl><dt><a name="Axis-get_transformed_clip_path_and_affine"><strong>get_transformed_clip_path_and_affine</strong></a>(self)</dt><dd><tt>Return the clip path with the non-affine part of its transformation applied,<br>
and the remaining affine part of its transformation.</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-hitlist"><strong>hitlist</strong></a>(self, event)</dt><dd><tt>List the children of the artist which contain the mouse event</tt></dd></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-pick"><strong>pick</strong></a>(self, mouseevent)</dt><dd><tt><a href="#Axis-pick">pick</a>(mouseevent)<br>
<br>
each child artist will fire a pick event if mouseevent is over<br>
the artist and the artist has picker set</tt></dd></dl>
<dl><dt><a name="Axis-pickable"><strong>pickable</strong></a>(self)</dt><dd><tt>return True if self is pickable</tt></dd></dl>
<dl><dt><a name="Axis-remove"><strong>remove</strong></a>(self)</dt><dd><tt>Remove the artist from the figure if possible. The effect will not<br>
be visible until the figure is redrawn, e.g., with ax.draw_idle().<br>
Call ax.relim() to update the axes limits if desired.<br>
<br>
Note: relim() will not see collections even if the collection<br>
was added to axes with autolim=True.<br>
<br>
Note: there is no support for removing the artist's legend entry.</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_animated"><strong>set_animated</strong></a>(self, b)</dt><dd><tt>set the artist's animation state<br>
<br>
ACCEPTS: [True | False]</tt></dd></dl>
<dl><dt><a name="Axis-set_axes"><strong>set_axes</strong></a>(self, axes)</dt><dd><tt>set the axes instance the artist resides in, if any<br>
<br>
ACCEPTS: an axes instance</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_contains"><strong>set_contains</strong></a>(self, picker)</dt><dd><tt>Replace the contains test used by this artist. The new picker should<br>
be a callable function which determines whether the artist is hit by the<br>
mouse event:<br>
<br>
hit, props = picker(artist, mouseevent)<br>
<br>
If the mouse event is over the artist, return hit=True and props<br>
is a dictionary of properties you want returned with the contains test.</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_picker"><strong>set_picker</strong></a>(self, picker)</dt><dd><tt>set the epsilon for picking used by this artist<br>
<br>
picker can be one of the following:<br>
<br>
None - picking is disabled for this artist (default)<br>
<br>
boolean - if True then picking will be enabled and the<br>
artist will fire a pick event if the mouse event is over<br>
the artist<br>
<br>
float - if picker is a number it is interpreted as an<br>
epsilon tolerance in points and the the artist will fire<br>
off an event if it's data is within epsilon of the mouse<br>
event. For some artists like lines and patch collections,<br>
the artist may provide additional data to the pick event<br>
that is generated, eg the indices of the data within<br>
epsilon of the pick event<br>
<br>
function - if picker is callable, it is a user supplied<br>
function which determines whether the artist is hit by the<br>
mouse event.<br>
<br>
hit, props = picker(artist, mouseevent)<br>
<br>
to determine the hit test. if the mouse event is over the<br>
artist, return hit=True and props is a dictionary of<br>
properties you want added to the PickEvent attributes<br>
<br>
ACCEPTS: [None|float|boolean|callable]</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 descriptors inherited from <a href="matplotlib.artist.html#Artist">matplotlib.artist.Artist</a>:<br>
<dl><dt><strong>__dict__</strong></dt>
<dd><tt>dictionary for instance variables (if defined)</tt></dd>
</dl>
<dl><dt><strong>__weakref__</strong></dt>
<dd><tt>list of weak references to the object (if defined)</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%"><dl><dt>Method resolution order:</dt>
<dd><a href="matplotlib.axis.html#Tick">Tick</a></dd>
<dd><a href="matplotlib.artist.html#Artist">matplotlib.artist.Artist</a></dd>
<dd><a href="__builtin__.html#object">__builtin__.object</a></dd>
</dl>
<hr>
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-contains"><strong>contains</strong></a>(self, mouseevent)</dt><dd><tt>Test whether the mouse event occured in the <a href="#Tick">Tick</a> marks.<br>
<br>
This function always returns false. It is more useful to test if the<br>
axis as a whole contains the mouse rather than the set of tick marks.</tt></dd></dl>
<dl><dt><a name="Tick-draw"><strong>draw</strong></a>(self, renderer)</dt></dl>
<dl><dt><a name="Tick-get_children"><strong>get_children</strong></a>(self)</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_pad_pixels"><strong>get_pad_pixels</strong></a>(self)</dt></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_clip_path"><strong>set_clip_path</strong></a>(self, clippath, transform<font color="#909090">=None</font>)</dt><dd><tt>Set the artist's clip path, which may be:<br>
<br>
a) a Patch (or subclass) instance<br>
<br>
b) a Path instance, in which cas aoptional transform may<br>
be provided, which will be applied to the path before using it<br>
for clipping.<br>
<br>
c) None, to remove the clipping path<br>
<br>
For efficiency, if the path happens to be an axis-aligned<br>
rectangle, this method will set the clipping box to the<br>
corresponding rectangle and set the clipping path to None.<br>
<br>
ACCEPTS: a Path instance and a Transform instance, a Patch<br>
instance, or None</tt></dd></dl>
<dl><dt><a name="Tick-set_label"><strong>set_label</strong></a> = <a href="#Tick-set_label1">set_label1</a>(self, s)</dt></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_view_interval"><strong>set_view_interval</strong></a>(self, vmin, vmax, ignore<font color="#909090">=False</font>)</dt></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-convert_xunits"><strong>convert_xunits</strong></a>(self, x)</dt><dd><tt>for artists in an axes, if the xaxis as units support,<br>
convert x using xaxis unit type</tt></dd></dl>
<dl><dt><a name="Tick-convert_yunits"><strong>convert_yunits</strong></a>(self, y)</dt><dd><tt>for artists in an axes, if the yaxis as units support,<br>
convert y using yaxis unit type</tt></dd></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_animated"><strong>get_animated</strong></a>(self)</dt><dd><tt>return the artist's animated state</tt></dd></dl>
<dl><dt><a name="Tick-get_axes"><strong>get_axes</strong></a>(self)</dt><dd><tt>return the axes instance the artist resides in, or None</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_clip_path"><strong>get_clip_path</strong></a>(self)</dt><dd><tt>Return artist clip path</tt></dd></dl>
<dl><dt><a name="Tick-get_contains"><strong>get_contains</strong></a>(self)</dt><dd><tt>return the _contains test used by the artist, or None for default.</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_picker"><strong>get_picker</strong></a>(self)</dt><dd><tt>return the Pickeration instance used by this artist</tt></dd></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_transformed_clip_path_and_affine"><strong>get_transformed_clip_path_and_affine</strong></a>(self)</dt><dd><tt>Return the clip path with the non-affine part of its transformation applied,<br>
and the remaining affine part of its transformation.</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-have_units"><strong>have_units</strong></a>(self)</dt><dd><tt>return True if units are set on the x or y axes</tt></dd></dl>
<dl><dt><a name="Tick-hitlist"><strong>hitlist</strong></a>(self, event)</dt><dd><tt>List the children of the artist which contain the mouse event</tt></dd></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-pick"><strong>pick</strong></a>(self, mouseevent)</dt><dd><tt><a href="#Tick-pick">pick</a>(mouseevent)<br>
<br>
each child artist will fire a pick event if mouseevent is over<br>
the artist and the artist has picker set</tt></dd></dl>
<dl><dt><a name="Tick-pickable"><strong>pickable</strong></a>(self)</dt><dd><tt>return True if self is pickable</tt></dd></dl>
<dl><dt><a name="Tick-remove"><strong>remove</strong></a>(self)</dt><dd><tt>Remove the artist from the figure if possible. The effect will not<br>
be visible until the figure is redrawn, e.g., with ax.draw_idle().<br>
Call ax.relim() to update the axes limits if desired.<br>
<br>
Note: relim() will not see collections even if the collection<br>
was added to axes with autolim=True.<br>
<br>
Note: there is no support for removing the artist's legend entry.</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_animated"><strong>set_animated</strong></a>(self, b)</dt><dd><tt>set the artist's animation state<br>
<br>
ACCEPTS: [True | False]</tt></dd></dl>
<dl><dt><a name="Tick-set_axes"><strong>set_axes</strong></a>(self, axes)</dt><dd><tt>set the axes instance the artist resides in, if any<br>
<br>
ACCEPTS: an axes instance</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_contains"><strong>set_contains</strong></a>(self, picker)</dt><dd><tt>Replace the contains test used by this artist. The new picker should<br>
be a callable function which determines whether the artist is hit by the<br>
mouse event:<br>
<br>
hit, props = picker(artist, mouseevent)<br>
<br>
If the mouse event is over the artist, return hit=True and props<br>
is a dictionary of properties you want returned with the contains test.</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_picker"><strong>set_picker</strong></a>(self, picker)</dt><dd><tt>set the epsilon for picking used by this artist<br>
<br>
picker can be one of the following:<br>
<br>
None - picking is disabled for this artist (default)<br>
<br>
boolean - if True then picking will be enabled and the<br>
artist will fire a pick event if the mouse event is over<br>
the artist<br>
<br>
float - if picker is a number it is interpreted as an<br>
epsilon tolerance in points and the the artist will fire<br>
off an event if it's data is within epsilon of the mouse<br>
event. For some artists like lines and patch collections,<br>
the artist may provide additional data to the pick event<br>
that is generated, eg the indices of the data within<br>
epsilon of the pick event<br>
<br>
function - if picker is callable, it is a user supplied<br>
function which determines whether the artist is hit by the<br>
mouse event.<br>
<br>
hit, props = picker(artist, mouseevent)<br>
<br>
to determine the hit test. if the mouse event is over the<br>
artist, return hit=True and props is a dictionary of<br>
properties you want added to the PickEvent attributes<br>
<br>
ACCEPTS: [None|float|boolean|callable]</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 descriptors inherited from <a href="matplotlib.artist.html#Artist">matplotlib.artist.Artist</a>:<br>
<dl><dt><strong>__dict__</strong></dt>
<dd><tt>dictionary for instance variables (if defined)</tt></dd>
</dl>
<dl><dt><strong>__weakref__</strong></dt>
<dd><tt>list of weak references to the object (if defined)</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>
<dd><a href="__builtin__.html#object">__builtin__.object</a></dd>
</dl>
<hr>
Methods defined here:<br>
<dl><dt><a name="XAxis-contains"><strong>contains</strong></a>(self, mouseevent)</dt><dd><tt>Test whether the mouse event occured in the x axis.</tt></dd></dl>
<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_minpos"><strong>get_minpos</strong></a>(self)</dt></dl>
<dl><dt><a name="XAxis-get_text_heights"><strong>get_text_heights</strong></a>(self, renderer)</dt><dd><tt>Returns the amount of space one should reserve for text<br>
above and below the axes. Returns a tuple (above, below)</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_data_interval"><strong>set_data_interval</strong></a>(self, vmin, vmax, ignore<font color="#909090">=False</font>)</dt><dd><tt>return the Interval instance for this axis data 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, default or none)<br>
both sets the ticks to appear on both positions, but does not<br>
change the tick labels. default resets the tick positions to<br>
the default: ticks on both positions, labels at bottom. none<br>
can be used if you don't want any ticks.<br>
<br>
ACCEPTS: [ 'top' | 'bottom' | 'both' | 'default' | 'none' ]</tt></dd></dl>
<dl><dt><a name="XAxis-set_view_interval"><strong>set_view_interval</strong></a>(self, vmin, vmax, ignore<font color="#909090">=False</font>)</dt></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>
Data and other attributes defined here:<br>
<dl><dt><strong>axis_name</strong> = 'x'</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, pickradius<font color="#909090">=15</font>)</dt><dd><tt>Init the axis with the parent Axes instance</tt></dd></dl>
<dl><dt><a name="XAxis-__str__"><strong>__str__</strong></a>(self)</dt></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-convert_units"><strong>convert_units</strong></a>(self, x)</dt></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_children"><strong>get_children</strong></a>(self)</dt></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, numticks<font color="#909090">=None</font>)</dt><dd><tt>get the tick instances; grow as necessary</tt></dd></dl>
<dl><dt><a name="XAxis-get_majorticklabels"><strong>get_majorticklabels</strong></a>(self)</dt><dd><tt>Return a list of Text instances for the major ticklabels</tt></dd></dl>
<dl><dt><a name="XAxis-get_majorticklines"><strong>get_majorticklines</strong></a>(self)</dt><dd><tt>Return the major tick lines as a list of Line2D instances</tt></dd></dl>
<dl><dt><a name="XAxis-get_majorticklocs"><strong>get_majorticklocs</strong></a>(self)</dt><dd><tt>Get the major tick locations in data coordinates as a numpy array</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, numticks<font color="#909090">=None</font>)</dt><dd><tt>get the minor tick instances; grow as necessary</tt></dd></dl>
<dl><dt><a name="XAxis-get_minorticklabels"><strong>get_minorticklabels</strong></a>(self)</dt><dd><tt>Return a list of Text instances for the minor ticklabels</tt></dd></dl>
<dl><dt><a name="XAxis-get_minorticklines"><strong>get_minorticklines</strong></a>(self)</dt><dd><tt>Return the minor tick lines as a list of Line2D instances</tt></dd></dl>
<dl><dt><a name="XAxis-get_minorticklocs"><strong>get_minorticklocs</strong></a>(self)</dt><dd><tt>Get the minor tick locations in data coordinates as a numpy array</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_pickradius"><strong>get_pickradius</strong></a>(self)</dt><dd><tt>Return the depth of the axis used by the picker</tt></dd></dl>
<dl><dt><a name="XAxis-get_scale"><strong>get_scale</strong></a>(self)</dt></dl>
<dl><dt><a name="XAxis-get_ticklabel_extents"><strong>get_ticklabel_extents</strong></a>(self, renderer)</dt><dd><tt>Get the extents of the tick labels on either side<br>
of the axes.</tt></dd></dl>
<dl><dt><a name="XAxis-get_ticklabels"><strong>get_ticklabels</strong></a>(self, minor<font color="#909090">=False</font>)</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, minor<font color="#909090">=False</font>)</dt><dd><tt>Return the tick lines as a list of Line2D instances</tt></dd></dl>
<dl><dt><a name="XAxis-get_ticklocs"><strong>get_ticklocs</strong></a>(self, minor<font color="#909090">=False</font>)</dt><dd><tt>Get the tick locations in data coordinates as a numpy array</tt></dd></dl>
<dl><dt><a name="XAxis-get_transform"><strong>get_transform</strong></a>(self)</dt></dl>
<dl><dt><a name="XAxis-get_units"><strong>get_units</strong></a>(self)</dt><dd><tt>return the units for axis</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>, **kwargs)</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 and len(kwargs)==0, toggle the grid state. If<br>
kwargs are supplied, it is assumed you want the grid on and b<br>
will be set to True<br>
<br>
kwargs are used to set the line properties of the grids, eg,<br>
<br>
xax.<a href="#XAxis-grid">grid</a>(color='r', linestyle='-', linewidth=2)</tt></dd></dl>
<dl><dt><a name="XAxis-have_units"><strong>have_units</strong></a>(self)</dt></dl>
<dl><dt><a name="XAxis-iter_ticks"><strong>iter_ticks</strong></a>(self)</dt><dd><tt>Iterate through all of the major and minor ticks.</tt></dd></dl>
<dl><dt><a name="XAxis-limit_range_for_scale"><strong>limit_range_for_scale</strong></a>(self, vmin, vmax)</dt></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_clip_path"><strong>set_clip_path</strong></a>(self, clippath, transform<font color="#909090">=None</font>)</dt></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_pickradius"><strong>set_pickradius</strong></a>(self, pickradius)</dt><dd><tt>Set the depth of the axis used by the picker<br>
<br>
ACCEPTS: a distance in points</tt></dd></dl>
<dl><dt><a name="XAxis-set_scale"><strong>set_scale</strong></a>(self, value, **kwargs)</dt></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. Use kwarg minor=True to select minor ticks.<br>
<br>
ACCEPTS: sequence of strings</tt></dd></dl>
<dl><dt><a name="XAxis-set_ticks"><strong>set_ticks</strong></a>(self, ticks, minor<font color="#909090">=False</font>)</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-set_units"><strong>set_units</strong></a>(self, u)</dt><dd><tt>set the units for axis<br>
<br>
ACCEPTS: a units tag</tt></dd></dl>
<dl><dt><a name="XAxis-update_units"><strong>update_units</strong></a>(self, data)</dt><dd><tt>introspect data for units converter and update the<br>
axis.converter instance if necessary. Return true is data is<br>
registered for unit conversion</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-convert_xunits"><strong>convert_xunits</strong></a>(self, x)</dt><dd><tt>for artists in an axes, if the xaxis as units support,<br>
convert x using xaxis unit type</tt></dd></dl>
<dl><dt><a name="XAxis-convert_yunits"><strong>convert_yunits</strong></a>(self, y)</dt><dd><tt>for artists in an axes, if the yaxis as units support,<br>
convert y using yaxis unit type</tt></dd></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_animated"><strong>get_animated</strong></a>(self)</dt><dd><tt>return the artist's animated state</tt></dd></dl>
<dl><dt><a name="XAxis-get_axes"><strong>get_axes</strong></a>(self)</dt><dd><tt>return the axes instance the artist resides in, or None</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_clip_path"><strong>get_clip_path</strong></a>(self)</dt><dd><tt>Return artist clip path</tt></dd></dl>
<dl><dt><a name="XAxis-get_contains"><strong>get_contains</strong></a>(self)</dt><dd><tt>return the _contains test used by the artist, or None for default.</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_picker"><strong>get_picker</strong></a>(self)</dt><dd><tt>return the Pickeration instance used by this artist</tt></dd></dl>
<dl><dt><a name="XAxis-get_transformed_clip_path_and_affine"><strong>get_transformed_clip_path_and_affine</strong></a>(self)</dt><dd><tt>Return the clip path with the non-affine part of its transformation applied,<br>
and the remaining affine part of its transformation.</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-hitlist"><strong>hitlist</strong></a>(self, event)</dt><dd><tt>List the children of the artist which contain the mouse event</tt></dd></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-pick"><strong>pick</strong></a>(self, mouseevent)</dt><dd><tt><a href="#XAxis-pick">pick</a>(mouseevent)<br>
<br>
each child artist will fire a pick event if mouseevent is over<br>
the artist and the artist has picker set</tt></dd></dl>
<dl><dt><a name="XAxis-pickable"><strong>pickable</strong></a>(self)</dt><dd><tt>return True if self is pickable</tt></dd></dl>
<dl><dt><a name="XAxis-remove"><strong>remove</strong></a>(self)</dt><dd><tt>Remove the artist from the figure if possible. The effect will not<br>
be visible until the figure is redrawn, e.g., with ax.draw_idle().<br>
Call ax.relim() to update the axes limits if desired.<br>
<br>
Note: relim() will not see collections even if the collection<br>
was added to axes with autolim=True.<br>
<br>
Note: there is no support for removing the artist's legend entry.</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_animated"><strong>set_animated</strong></a>(self, b)</dt><dd><tt>set the artist's animation state<br>
<br>
ACCEPTS: [True | False]</tt></dd></dl>
<dl><dt><a name="XAxis-set_axes"><strong>set_axes</strong></a>(self, axes)</dt><dd><tt>set the axes instance the artist resides in, if any<br>
<br>
ACCEPTS: an axes instance</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_contains"><strong>set_contains</strong></a>(self, picker)</dt><dd><tt>Replace the contains test used by this artist. The new picker should<br>
be a callable function which determines whether the artist is hit by the<br>
mouse event:<br>
<br>
hit, props = picker(artist, mouseevent)<br>
<br>
If the mouse event is over the artist, return hit=True and props<br>
is a dictionary of properties you want returned with the contains test.</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_picker"><strong>set_picker</strong></a>(self, picker)</dt><dd><tt>set the epsilon for picking used by this artist<br>
<br>
picker can be one of the following:<br>
<br>
None - picking is disabled for this artist (default)<br>
<br>
boolean - if True then picking will be enabled and the<br>
artist will fire a pick event if the mouse event is over<br>
the artist<br>
<br>
float - if picker is a number it is interpreted as an<br>
epsilon tolerance in points and the the artist will fire<br>
off an event if it's data is within epsilon of the mouse<br>
event. For some artists like lines and patch collections,<br>
the artist may provide additional data to the pick event<br>
that is generated, eg the indices of the data within<br>
epsilon of the pick event<br>
<br>
function - if picker is callable, it is a user supplied<br>
function which determines whether the artist is hit by the<br>
mouse event.<br>
<br>
hit, props = picker(artist, mouseevent)<br>
<br>
to determine the hit test. if the mouse event is over the<br>
artist, return hit=True and props is a dictionary of<br>
properties you want added to the PickEvent attributes<br>
<br>
ACCEPTS: [None|float|boolean|callable]</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 descriptors inherited from <a href="matplotlib.artist.html#Artist">matplotlib.artist.Artist</a>:<br>
<dl><dt><strong>__dict__</strong></dt>
<dd><tt>dictionary for instance variables (if defined)</tt></dd>
</dl>
<dl><dt><strong>__weakref__</strong></dt>
<dd><tt>list of weak references to the object (if defined)</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>
<dd><a href="__builtin__.html#object">__builtin__.object</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_minpos"><strong>get_minpos</strong></a>(self)</dt></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-set_view_interval"><strong>set_view_interval</strong></a>(self, vmin, vmax, ignore<font color="#909090">=False</font>)</dt></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-contains"><strong>contains</strong></a>(self, mouseevent)</dt><dd><tt>Test whether the mouse event occured in the <a href="#Tick">Tick</a> marks.<br>
<br>
This function always returns false. It is more useful to test if the<br>
axis as a whole contains the mouse rather than the set of tick marks.</tt></dd></dl>
<dl><dt><a name="XTick-draw"><strong>draw</strong></a>(self, renderer)</dt></dl>
<dl><dt><a name="XTick-get_children"><strong>get_children</strong></a>(self)</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-get_pad_pixels"><strong>get_pad_pixels</strong></a>(self)</dt></dl>
<dl><dt><a name="XTick-set_clip_path"><strong>set_clip_path</strong></a>(self, clippath, transform<font color="#909090">=None</font>)</dt><dd><tt>Set the artist's clip path, which may be:<br>
<br>
a) a Patch (or subclass) instance<br>
<br>
b) a Path instance, in which cas aoptional transform may<br>
be provided, which will be applied to the path before using it<br>
for clipping.<br>
<br>
c) None, to remove the clipping path<br>
<br>
For efficiency, if the path happens to be an axis-aligned<br>
rectangle, this method will set the clipping box to the<br>
corresponding rectangle and set the clipping path to None.<br>
<br>
ACCEPTS: a Path instance and a Transform instance, a Patch<br>
instance, or None</tt></dd></dl>
<dl><dt><a name="XTick-set_label"><strong>set_label</strong></a> = set_label1(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>
<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-convert_xunits"><strong>convert_xunits</strong></a>(self, x)</dt><dd><tt>for artists in an axes, if the xaxis as units support,<br>
convert x using xaxis unit type</tt></dd></dl>
<dl><dt><a name="XTick-convert_yunits"><strong>convert_yunits</strong></a>(self, y)</dt><dd><tt>for artists in an axes, if the yaxis as units support,<br>
convert y using yaxis unit type</tt></dd></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_animated"><strong>get_animated</strong></a>(self)</dt><dd><tt>return the artist's animated state</tt></dd></dl>
<dl><dt><a name="XTick-get_axes"><strong>get_axes</strong></a>(self)</dt><dd><tt>return the axes instance the artist resides in, or None</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_clip_path"><strong>get_clip_path</strong></a>(self)</dt><dd><tt>Return artist clip path</tt></dd></dl>
<dl><dt><a name="XTick-get_contains"><strong>get_contains</strong></a>(self)</dt><dd><tt>return the _contains test used by the artist, or None for default.</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_picker"><strong>get_picker</strong></a>(self)</dt><dd><tt>return the Pickeration instance used by this artist</tt></dd></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_transformed_clip_path_and_affine"><strong>get_transformed_clip_path_and_affine</strong></a>(self)</dt><dd><tt>Return the clip path with the non-affine part of its transformation applied,<br>
and the remaining affine part of its transformation.</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-have_units"><strong>have_units</strong></a>(self)</dt><dd><tt>return True if units are set on the x or y axes</tt></dd></dl>
<dl><dt><a name="XTick-hitlist"><strong>hitlist</strong></a>(self, event)</dt><dd><tt>List the children of the artist which contain the mouse event</tt></dd></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-pick"><strong>pick</strong></a>(self, mouseevent)</dt><dd><tt><a href="#XTick-pick">pick</a>(mouseevent)<br>
<br>
each child artist will fire a pick event if mouseevent is over<br>
the artist and the artist has picker set</tt></dd></dl>
<dl><dt><a name="XTick-pickable"><strong>pickable</strong></a>(self)</dt><dd><tt>return True if self is pickable</tt></dd></dl>
<dl><dt><a name="XTick-remove"><strong>remove</strong></a>(self)</dt><dd><tt>Remove the artist from the figure if possible. The effect will not<br>
be visible until the figure is redrawn, e.g., with ax.draw_idle().<br>
Call ax.relim() to update the axes limits if desired.<br>
<br>
Note: relim() will not see collections even if the collection<br>
was added to axes with autolim=True.<br>
<br>
Note: there is no support for removing the artist's legend entry.</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_animated"><strong>set_animated</strong></a>(self, b)</dt><dd><tt>set the artist's animation state<br>
<br>
ACCEPTS: [True | False]</tt></dd></dl>
<dl><dt><a name="XTick-set_axes"><strong>set_axes</strong></a>(self, axes)</dt><dd><tt>set the axes instance the artist resides in, if any<br>
<br>
ACCEPTS: an axes instance</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_contains"><strong>set_contains</strong></a>(self, picker)</dt><dd><tt>Replace the contains test used by this artist. The new picker should<br>
be a callable function which determines whether the artist is hit by the<br>
mouse event:<br>
<br>
hit, props = picker(artist, mouseevent)<br>
<br>
If the mouse event is over the artist, return hit=True and props<br>
is a dictionary of properties you want returned with the contains test.</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_picker"><strong>set_picker</strong></a>(self, picker)</dt><dd><tt>set the epsilon for picking used by this artist<br>
<br>
picker can be one of the following:<br>
<br>
None - picking is disabled for this artist (default)<br>
<br>
boolean - if True then picking will be enabled and the<br>
artist will fire a pick event if the mouse event is over<br>
the artist<br>
<br>
float - if picker is a number it is interpreted as an<br>
epsilon tolerance in points and the the artist will fire<br>
off an event if it's data is within epsilon of the mouse<br>
event. For some artists like lines and patch collections,<br>
the artist may provide additional data to the pick event<br>
that is generated, eg the indices of the data within<br>
epsilon of the pick event<br>
<br>
function - if picker is callable, it is a user supplied<br>
function which determines whether the artist is hit by the<br>
mouse event.<br>
<br>
hit, props = picker(artist, mouseevent)<br>
<br>
to determine the hit test. if the mouse event is over the<br>
artist, return hit=True and props is a dictionary of<br>
properties you want added to the PickEvent attributes<br>
<br>
ACCEPTS: [None|float|boolean|callable]</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 descriptors inherited from <a href="matplotlib.artist.html#Artist">matplotlib.artist.Artist</a>:<br>
<dl><dt><strong>__dict__</strong></dt>
<dd><tt>dictionary for instance variables (if defined)</tt></dd>
</dl>
<dl><dt><strong>__weakref__</strong></dt>
<dd><tt>list of weak references to the object (if defined)</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>
<dd><a href="__builtin__.html#object">__builtin__.object</a></dd>
</dl>
<hr>
Methods defined here:<br>
<dl><dt><a name="YAxis-contains"><strong>contains</strong></a>(self, mouseevent)</dt><dd><tt>Test whether the mouse event occurred in the y axis.<br>
<br>
Returns T/F, {}</tt></dd></dl>
<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_minpos"><strong>get_minpos</strong></a>(self)</dt></dl>
<dl><dt><a name="YAxis-get_text_widths"><strong>get_text_widths</strong></a>(self, renderer)</dt></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_data_interval"><strong>set_data_interval</strong></a>(self, vmin, vmax, ignore<font color="#909090">=False</font>)</dt><dd><tt>return the Interval instance for this axis data 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_offset_position"><strong>set_offset_position</strong></a>(self, position)</dt></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' | 'none' ]</tt></dd></dl>
<dl><dt><a name="YAxis-set_view_interval"><strong>set_view_interval</strong></a>(self, vmin, vmax, ignore<font color="#909090">=False</font>)</dt></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>
Data and other attributes defined here:<br>
<dl><dt><strong>axis_name</strong> = 'y'</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, pickradius<font color="#909090">=15</font>)</dt><dd><tt>Init the axis with the parent Axes instance</tt></dd></dl>
<dl><dt><a name="YAxis-__str__"><strong>__str__</strong></a>(self)</dt></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-convert_units"><strong>convert_units</strong></a>(self, x)</dt></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_children"><strong>get_children</strong></a>(self)</dt></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, numticks<font color="#909090">=None</font>)</dt><dd><tt>get the tick instances; grow as necessary</tt></dd></dl>
<dl><dt><a name="YAxis-get_majorticklabels"><strong>get_majorticklabels</strong></a>(self)</dt><dd><tt>Return a list of Text instances for the major ticklabels</tt></dd></dl>
<dl><dt><a name="YAxis-get_majorticklines"><strong>get_majorticklines</strong></a>(self)</dt><dd><tt>Return the major tick lines as a list of Line2D instances</tt></dd></dl>
<dl><dt><a name="YAxis-get_majorticklocs"><strong>get_majorticklocs</strong></a>(self)</dt><dd><tt>Get the major tick locations in data coordinates as a numpy array</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, numticks<font color="#909090">=None</font>)</dt><dd><tt>get the minor tick instances; grow as necessary</tt></dd></dl>
<dl><dt><a name="YAxis-get_minorticklabels"><strong>get_minorticklabels</strong></a>(self)</dt><dd><tt>Return a list of Text instances for the minor ticklabels</tt></dd></dl>
<dl><dt><a name="YAxis-get_minorticklines"><strong>get_minorticklines</strong></a>(self)</dt><dd><tt>Return the minor tick lines as a list of Line2D instances</tt></dd></dl>
<dl><dt><a name="YAxis-get_minorticklocs"><strong>get_minorticklocs</strong></a>(self)</dt><dd><tt>Get the minor tick locations in data coordinates as a numpy array</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_pickradius"><strong>get_pickradius</strong></a>(self)</dt><dd><tt>Return the depth of the axis used by the picker</tt></dd></dl>
<dl><dt><a name="YAxis-get_scale"><strong>get_scale</strong></a>(self)</dt></dl>
<dl><dt><a name="YAxis-get_ticklabel_extents"><strong>get_ticklabel_extents</strong></a>(self, renderer)</dt><dd><tt>Get the extents of the tick labels on either side<br>
of the axes.</tt></dd></dl>
<dl><dt><a name="YAxis-get_ticklabels"><strong>get_ticklabels</strong></a>(self, minor<font color="#909090">=False</font>)</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, minor<font color="#909090">=False</font>)</dt><dd><tt>Return the tick lines as a list of Line2D instances</tt></dd></dl>
<dl><dt><a name="YAxis-get_ticklocs"><strong>get_ticklocs</strong></a>(self, minor<font color="#909090">=False</font>)</dt><dd><tt>Get the tick locations in data coordinates as a numpy array</tt></dd></dl>
<dl><dt><a name="YAxis-get_transform"><strong>get_transform</strong></a>(self)</dt></dl>
<dl><dt><a name="YAxis-get_units"><strong>get_units</strong></a>(self)</dt><dd><tt>return the units for axis</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>, **kwargs)</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 and len(kwargs)==0, toggle the grid state. If<br>
kwargs are supplied, it is assumed you want the grid on and b<br>
will be set to True<br>
<br>
kwargs are used to set the line properties of the grids, eg,<br>
<br>
xax.<a href="#YAxis-grid">grid</a>(color='r', linestyle='-', linewidth=2)</tt></dd></dl>
<dl><dt><a name="YAxis-have_units"><strong>have_units</strong></a>(self)</dt></dl>
<dl><dt><a name="YAxis-iter_ticks"><strong>iter_ticks</strong></a>(self)</dt><dd><tt>Iterate through all of the major and minor ticks.</tt></dd></dl>
<dl><dt><a name="YAxis-limit_range_for_scale"><strong>limit_range_for_scale</strong></a>(self, vmin, vmax)</dt></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_clip_path"><strong>set_clip_path</strong></a>(self, clippath, transform<font color="#909090">=None</font>)</dt></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_pickradius"><strong>set_pickradius</strong></a>(self, pickradius)</dt><dd><tt>Set the depth of the axis used by the picker<br>
<br>
ACCEPTS: a distance in points</tt></dd></dl>
<dl><dt><a name="YAxis-set_scale"><strong>set_scale</strong></a>(self, value, **kwargs)</dt></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. Use kwarg minor=True to select minor ticks.<br>
<br>
ACCEPTS: sequence of strings</tt></dd></dl>
<dl><dt><a name="YAxis-set_ticks"><strong>set_ticks</strong></a>(self, ticks, minor<font color="#909090">=False</font>)</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-set_units"><strong>set_units</strong></a>(self, u)</dt><dd><tt>set the units for axis<br>
<br>
ACCEPTS: a units tag</tt></dd></dl>
<dl><dt><a name="YAxis-update_units"><strong>update_units</strong></a>(self, data)</dt><dd><tt>introspect data for units converter and update the<br>
axis.converter instance if necessary. Return true is data is<br>
registered for unit conversion</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-convert_xunits"><strong>convert_xunits</strong></a>(self, x)</dt><dd><tt>for artists in an axes, if the xaxis as units support,<br>
convert x using xaxis unit type</tt></dd></dl>
<dl><dt><a name="YAxis-convert_yunits"><strong>convert_yunits</strong></a>(self, y)</dt><dd><tt>for artists in an axes, if the yaxis as units support,<br>
convert y using yaxis unit type</tt></dd></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_animated"><strong>get_animated</strong></a>(self)</dt><dd><tt>return the artist's animated state</tt></dd></dl>
<dl><dt><a name="YAxis-get_axes"><strong>get_axes</strong></a>(self)</dt><dd><tt>return the axes instance the artist resides in, or None</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_clip_path"><strong>get_clip_path</strong></a>(self)</dt><dd><tt>Return artist clip path</tt></dd></dl>
<dl><dt><a name="YAxis-get_contains"><strong>get_contains</strong></a>(self)</dt><dd><tt>return the _contains test used by the artist, or None for default.</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_picker"><strong>get_picker</strong></a>(self)</dt><dd><tt>return the Pickeration instance used by this artist</tt></dd></dl>
<dl><dt><a name="YAxis-get_transformed_clip_path_and_affine"><strong>get_transformed_clip_path_and_affine</strong></a>(self)</dt><dd><tt>Return the clip path with the non-affine part of its transformation applied,<br>
and the remaining affine part of its transformation.</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-hitlist"><strong>hitlist</strong></a>(self, event)</dt><dd><tt>List the children of the artist which contain the mouse event</tt></dd></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-pick"><strong>pick</strong></a>(self, mouseevent)</dt><dd><tt><a href="#YAxis-pick">pick</a>(mouseevent)<br>
<br>
each child artist will fire a pick event if mouseevent is over<br>
the artist and the artist has picker set</tt></dd></dl>
<dl><dt><a name="YAxis-pickable"><strong>pickable</strong></a>(self)</dt><dd><tt>return True if self is pickable</tt></dd></dl>
<dl><dt><a name="YAxis-remove"><strong>remove</strong></a>(self)</dt><dd><tt>Remove the artist from the figure if possible. The effect will not<br>
be visible until the figure is redrawn, e.g., with ax.draw_idle().<br>
Call ax.relim() to update the axes limits if desired.<br>
<br>
Note: relim() will not see collections even if the collection<br>
was added to axes with autolim=True.<br>
<br>
Note: there is no support for removing the artist's legend entry.</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_animated"><strong>set_animated</strong></a>(self, b)</dt><dd><tt>set the artist's animation state<br>
<br>
ACCEPTS: [True | False]</tt></dd></dl>
<dl><dt><a name="YAxis-set_axes"><strong>set_axes</strong></a>(self, axes)</dt><dd><tt>set the axes instance the artist resides in, if any<br>
<br>
ACCEPTS: an axes instance</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_contains"><strong>set_contains</strong></a>(self, picker)</dt><dd><tt>Replace the contains test used by this artist. The new picker should<br>
be a callable function which determines whether the artist is hit by the<br>
mouse event:<br>
<br>
hit, props = picker(artist, mouseevent)<br>
<br>
If the mouse event is over the artist, return hit=True and props<br>
is a dictionary of properties you want returned with the contains test.</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_picker"><strong>set_picker</strong></a>(self, picker)</dt><dd><tt>set the epsilon for picking used by this artist<br>
<br>
picker can be one of the following:<br>
<br>
None - picking is disabled for this artist (default)<br>
<br>
boolean - if True then picking will be enabled and the<br>
artist will fire a pick event if the mouse event is over<br>
the artist<br>
<br>
float - if picker is a number it is interpreted as an<br>
epsilon tolerance in points and the the artist will fire<br>
off an event if it's data is within epsilon of the mouse<br>
event. For some artists like lines and patch collections,<br>
the artist may provide additional data to the pick event<br>
that is generated, eg the indices of the data within<br>
epsilon of the pick event<br>
<br>
function - if picker is callable, it is a user supplied<br>
function which determines whether the artist is hit by the<br>
mouse event.<br>
<br>
hit, props = picker(artist, mouseevent)<br>
<br>
to determine the hit test. if the mouse event is over the<br>
artist, return hit=True and props is a dictionary of<br>
properties you want added to the PickEvent attributes<br>
<br>
ACCEPTS: [None|float|boolean|callable]</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 descriptors inherited from <a href="matplotlib.artist.html#Artist">matplotlib.artist.Artist</a>:<br>
<dl><dt><strong>__dict__</strong></dt>
<dd><tt>dictionary for instance variables (if defined)</tt></dd>
</dl>
<dl><dt><strong>__weakref__</strong></dt>
<dd><tt>list of weak references to the object (if defined)</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>
<dd><a href="__builtin__.html#object">__builtin__.object</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_minpos"><strong>get_minpos</strong></a>(self)</dt></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-set_view_interval"><strong>set_view_interval</strong></a>(self, vmin, vmax)</dt></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-contains"><strong>contains</strong></a>(self, mouseevent)</dt><dd><tt>Test whether the mouse event occured in the <a href="#Tick">Tick</a> marks.<br>
<br>
This function always returns false. It is more useful to test if the<br>
axis as a whole contains the mouse rather than the set of tick marks.</tt></dd></dl>
<dl><dt><a name="YTick-draw"><strong>draw</strong></a>(self, renderer)</dt></dl>
<dl><dt><a name="YTick-get_children"><strong>get_children</strong></a>(self)</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-get_pad_pixels"><strong>get_pad_pixels</strong></a>(self)</dt></dl>
<dl><dt><a name="YTick-set_clip_path"><strong>set_clip_path</strong></a>(self, clippath, transform<font color="#909090">=None</font>)</dt><dd><tt>Set the artist's clip path, which may be:<br>
<br>
a) a Patch (or subclass) instance<br>
<br>
b) a Path instance, in which cas aoptional transform may<br>
be provided, which will be applied to the path before using it<br>
for clipping.<br>
<br>
c) None, to remove the clipping path<br>
<br>
For efficiency, if the path happens to be an axis-aligned<br>
rectangle, this method will set the clipping box to the<br>
corresponding rectangle and set the clipping path to None.<br>
<br>
ACCEPTS: a Path instance and a Transform instance, a Patch<br>
instance, or None</tt></dd></dl>
<dl><dt><a name="YTick-set_label"><strong>set_label</strong></a> = set_label1(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>
<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-convert_xunits"><strong>convert_xunits</strong></a>(self, x)</dt><dd><tt>for artists in an axes, if the xaxis as units support,<br>
convert x using xaxis unit type</tt></dd></dl>
<dl><dt><a name="YTick-convert_yunits"><strong>convert_yunits</strong></a>(self, y)</dt><dd><tt>for artists in an axes, if the yaxis as units support,<br>
convert y using yaxis unit type</tt></dd></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_animated"><strong>get_animated</strong></a>(self)</dt><dd><tt>return the artist's animated state</tt></dd></dl>
<dl><dt><a name="YTick-get_axes"><strong>get_axes</strong></a>(self)</dt><dd><tt>return the axes instance the artist resides in, or None</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_clip_path"><strong>get_clip_path</strong></a>(self)</dt><dd><tt>Return artist clip path</tt></dd></dl>
<dl><dt><a name="YTick-get_contains"><strong>get_contains</strong></a>(self)</dt><dd><tt>return the _contains test used by the artist, or None for default.</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_picker"><strong>get_picker</strong></a>(self)</dt><dd><tt>return the Pickeration instance used by this artist</tt></dd></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_transformed_clip_path_and_affine"><strong>get_transformed_clip_path_and_affine</strong></a>(self)</dt><dd><tt>Return the clip path with the non-affine part of its transformation applied,<br>
and the remaining affine part of its transformation.</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-have_units"><strong>have_units</strong></a>(self)</dt><dd><tt>return True if units are set on the x or y axes</tt></dd></dl>
<dl><dt><a name="YTick-hitlist"><strong>hitlist</strong></a>(self, event)</dt><dd><tt>List the children of the artist which contain the mouse event</tt></dd></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-pick"><strong>pick</strong></a>(self, mouseevent)</dt><dd><tt><a href="#YTick-pick">pick</a>(mouseevent)<br>
<br>
each child artist will fire a pick event if mouseevent is over<br>
the artist and the artist has picker set</tt></dd></dl>
<dl><dt><a name="YTick-pickable"><strong>pickable</strong></a>(self)</dt><dd><tt>return True if self is pickable</tt></dd></dl>
<dl><dt><a name="YTick-remove"><strong>remove</strong></a>(self)</dt><dd><tt>Remove the artist from the figure if possible. The effect will not<br>
be visible until the figure is redrawn, e.g., with ax.draw_idle().<br>
Call ax.relim() to update the axes limits if desired.<br>
<br>
Note: relim() will not see collections even if the collection<br>
was added to axes with autolim=True.<br>
<br>
Note: there is no support for removing the artist's legend entry.</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_animated"><strong>set_animated</strong></a>(self, b)</dt><dd><tt>set the artist's animation state<br>
<br>
ACCEPTS: [True | False]</tt></dd></dl>
<dl><dt><a name="YTick-set_axes"><strong>set_axes</strong></a>(self, axes)</dt><dd><tt>set the axes instance the artist resides in, if any<br>
<br>
ACCEPTS: an axes instance</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_contains"><strong>set_contains</strong></a>(self, picker)</dt><dd><tt>Replace the contains test used by this artist. The new picker should<br>
be a callable function which determines whether the artist is hit by the<br>
mouse event:<br>
<br>
hit, props = picker(artist, mouseevent)<br>
<br>
If the mouse event is over the artist, return hit=True and props<br>
is a dictionary of properties you want returned with the contains test.</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_picker"><strong>set_picker</strong></a>(self, picker)</dt><dd><tt>set the epsilon for picking used by this artist<br>
<br>
picker can be one of the following:<br>
<br>
None - picking is disabled for this artist (default)<br>
<br>
boolean - if True then picking will be enabled and the<br>
artist will fire a pick event if the mouse event is over<br>
the artist<br>
<br>
float - if picker is a number it is interpreted as an<br>
epsilon tolerance in points and the the artist will fire<br>
off an event if it's data is within epsilon of the mouse<br>
event. For some artists like lines and patch collections,<br>
the artist may provide additional data to the pick event<br>
that is generated, eg the indices of the data within<br>
epsilon of the pick event<br>
<br>
function - if picker is callable, it is a user supplied<br>
function which determines whether the artist is hit by the<br>
mouse event.<br>
<br>
hit, props = picker(artist, mouseevent)<br>
<br>
to determine the hit test. if the mouse event is over the<br>
artist, return hit=True and props is a dictionary of<br>
properties you want added to the PickEvent attributes<br>
<br>
ACCEPTS: [None|float|boolean|callable]</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 descriptors inherited from <a href="matplotlib.artist.html#Artist">matplotlib.artist.Artist</a>:<br>
<dl><dt><strong>__dict__</strong></dt>
<dd><tt>dictionary for instance variables (if defined)</tt></dd>
</dl>
<dl><dt><strong>__weakref__</strong></dt>
<dd><tt>list of weak references to the object (if defined)</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="#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>TICKDOWN</strong> = 3<br>
<strong>TICKLEFT</strong> = 0<br>
<strong>TICKRIGHT</strong> = 1<br>
<strong>TICKUP</strong> = 2<br>
<strong>division</strong> = _Feature((2, 2, 0, 'alpha', 2), (3, 0, 0, 'alpha', 0), 8192)<br>
<strong>rcParams</strong> = {'figure.subplot.right': 0.90000000000000002, 'm...persize': 'letter', 'svg.embed_char_paths': True}</td></tr></table>
@footer@