Sophie

Sophie

distrib > Mandriva > 2010.2 > i586 > media > contrib-backports > by-pkgid > a44f8c7e78ee9c5838c1fb080c9e7630 > files > 1603

python-matplotlib-doc-1.1.1-1mdv2010.1.noarch.rpm



<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    
    <title>axis &mdash; Matplotlib v1.1.1 documentation</title>
    <link rel="stylesheet" href="../_static/mpl.css" type="text/css" />
    <link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
    <script type="text/javascript">
      var DOCUMENTATION_OPTIONS = {
        URL_ROOT:    '../',
        VERSION:     '1.1.1',
        COLLAPSE_INDEX: false,
        FILE_SUFFIX: '.html',
        HAS_SOURCE:  true
      };
    </script>
    <script type="text/javascript" src="../_static/jquery.js"></script>
    <script type="text/javascript" src="../_static/underscore.js"></script>
    <script type="text/javascript" src="../_static/doctools.js"></script>
    <link rel="search" type="application/opensearchdescription+xml"
          title="Search within Matplotlib v1.1.1 documentation"
          href="../_static/opensearch.xml"/>
    <link rel="top" title="Matplotlib v1.1.1 documentation" href="../index.html" />
    <link rel="up" title="The Matplotlib API" href="index.html" />
    <link rel="next" title="backends" href="index_backend_api.html" />
    <link rel="prev" title="axes" href="axes_api.html" /> 
  </head>
  <body>
<!-- Piwik -->
<script type="text/javascript">
if ("matplotlib.sourceforge.net" == document.location.hostname ||
    "matplotlib.sf.net" == document.location.hostname) {
  var pkBaseURL = (("https:" == document.location.protocol) ? "https://apps.sourceforge.net/piwik/matplotlib/" : "http://apps.sourceforge.net/piwik/matplotlib/");
  document.write(unescape("%3Cscript src='" + pkBaseURL + "piwik.js' type='text/javascript'%3E%3C/script%3E"));
}
</script>
<script type="text/javascript">
if ("matplotlib.sourceforge.net" == document.location.hostname ||
    "matplotlib.sf.net" == document.location.hostname) {
  piwik_action_name = '';
  piwik_idsite = 1;
  piwik_url = pkBaseURL + "piwik.php";
  piwik_log(piwik_action_name, piwik_idsite, piwik_url);
  document.write(unescape('%3Cobject%3E%3Cnoscript%3E%3Cp%3E%3Cimg src="http://apps.sourceforge.net/piwik/matplotlib/piwik.php?idsite=1" alt="piwik"/%3E%3C/p%3E%3C/noscript%3E%3C/object%3E'));
}
</script>
<!-- End Piwik Tag -->
<link rel="shortcut icon" href="_static/favicon.ico">

<div style="background-color: white; text-align: left; padding: 10px 10px 15px 15px">
<a href="../index.html"><img src="../_static/logo2.png" border="0" alt="matplotlib"/></a>
</div>

    <div class="related">
      <h3>Navigation</h3>
      <ul>
        <li class="right" style="margin-right: 10px">
          <a href="../genindex.html" title="General Index"
             accesskey="I">index</a></li>
        <li class="right" >
          <a href="../py-modindex.html" title="Python Module Index"
             >modules</a> |</li>
        <li class="right" >
          <a href="index_backend_api.html" title="backends"
             accesskey="N">next</a> |</li>
        <li class="right" >
          <a href="axes_api.html" title="axes"
             accesskey="P">previous</a> |</li>
        <li><a href="../index.html">home</a>|&nbsp;</li>
        <li><a href="../search.html">search</a>|&nbsp;</li>
        <li><a href="../examples/index.html">examples</a>|&nbsp;</li>
        <li><a href="../gallery.html">gallery</a>|&nbsp;</li>
        <li><a href="../contents.html">docs</a> &raquo;</li>

          <li><a href="index.html" accesskey="U">The Matplotlib API</a> &raquo;</li> 
      </ul>
    </div>

      <div class="sphinxsidebar">
        <div class="sphinxsidebarwrapper">
  <h3><a href="../contents.html">Table Of Contents</a></h3>
  <ul>
<li><a class="reference internal" href="#">axis</a><ul>
<li><a class="reference internal" href="#module-matplotlib.axis"><tt class="docutils literal"><span class="pre">matplotlib.axis</span></tt></a></li>
</ul>
</li>
</ul>

  <h4>Previous topic</h4>
  <p class="topless"><a href="axes_api.html"
                        title="previous chapter">axes</a></p>
  <h4>Next topic</h4>
  <p class="topless"><a href="index_backend_api.html"
                        title="next chapter">backends</a></p>
  <h3>This Page</h3>
  <ul class="this-page-menu">
    <li><a href="../_sources/api/axis_api.txt"
           rel="nofollow">Show Source</a></li>
  </ul>
<div id="searchbox" style="display: none">
  <h3>Quick search</h3>
    <form class="search" action="../search.html" method="get">
      <input type="text" name="q" size="18" />
      <input type="submit" value="Go" />
      <input type="hidden" name="check_keywords" value="yes" />
      <input type="hidden" name="area" value="default" />
    </form>
    <p class="searchtip" style="font-size: 90%">
    Enter search terms or a module, class or function name.
    </p>
</div>
<script type="text/javascript">$('#searchbox').show(0);</script>
        </div>
      </div>

    <div class="document">
      <div class="documentwrapper">
        <div class="bodywrapper">
          <div class="body">
            
  <div class="section" id="axis">
<h1>axis<a class="headerlink" href="#axis" title="Permalink to this headline">¶</a></h1>
<div class="section" id="module-matplotlib.axis">
<span id="matplotlib-axis"></span><h2><a class="reference internal" href="#module-matplotlib.axis" title="matplotlib.axis"><tt class="xref py py-mod docutils literal"><span class="pre">matplotlib.axis</span></tt></a><a class="headerlink" href="#module-matplotlib.axis" title="Permalink to this headline">¶</a></h2>
<p>Classes for the ticks and x and y axis</p>
<dl class="class">
<dt id="matplotlib.axis.Axis">
<em class="property">class </em><tt class="descclassname">matplotlib.axis.</tt><tt class="descname">Axis</tt><big>(</big><em>axes</em>, <em>pickradius=15</em><big>)</big><a class="headerlink" href="#matplotlib.axis.Axis" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <a class="reference internal" href="artist_api.html#matplotlib.artist.Artist" title="matplotlib.artist.Artist"><tt class="xref py py-class docutils literal"><span class="pre">matplotlib.artist.Artist</span></tt></a></p>
<p>Public attributes</p>
<ul class="simple">
<li><tt class="xref py py-attr docutils literal"><span class="pre">axes.transData</span></tt> - transform data coords to display coords</li>
<li><tt class="xref py py-attr docutils literal"><span class="pre">axes.transAxes</span></tt> - transform axis coords to display coords</li>
<li><tt class="xref py py-attr docutils literal"><span class="pre">labelpad</span></tt> - number of points between the axis and its label</li>
</ul>
<p>Init the axis with the parent Axes instance</p>
<dl class="method">
<dt id="matplotlib.axis.Axis.axis_date">
<tt class="descname">axis_date</tt><big>(</big><em>tz=None</em><big>)</big><a class="headerlink" href="#matplotlib.axis.Axis.axis_date" title="Permalink to this definition">¶</a></dt>
<dd><p>Sets up x-axis ticks and labels that treat the x data as dates.
<em>tz</em> is a <tt class="xref py py-class docutils literal"><span class="pre">tzinfo</span></tt> instance or a timezone string.
This timezone is used to create date labels.</p>
</dd></dl>

<dl class="method">
<dt id="matplotlib.axis.Axis.cla">
<tt class="descname">cla</tt><big>(</big><big>)</big><a class="headerlink" href="#matplotlib.axis.Axis.cla" title="Permalink to this definition">¶</a></dt>
<dd><p>clear the current axis</p>
</dd></dl>

<dl class="method">
<dt id="matplotlib.axis.Axis.convert_units">
<tt class="descname">convert_units</tt><big>(</big><em>x</em><big>)</big><a class="headerlink" href="#matplotlib.axis.Axis.convert_units" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="matplotlib.axis.Axis.draw">
<tt class="descname">draw</tt><big>(</big><em>artist</em>, <em>renderer</em>, <em>*args</em>, <em>**kwargs</em><big>)</big><a class="headerlink" href="#matplotlib.axis.Axis.draw" title="Permalink to this definition">¶</a></dt>
<dd><p>Draw the axis lines, grid lines, tick lines and labels</p>
</dd></dl>

<dl class="method">
<dt id="matplotlib.axis.Axis.get_children">
<tt class="descname">get_children</tt><big>(</big><big>)</big><a class="headerlink" href="#matplotlib.axis.Axis.get_children" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="matplotlib.axis.Axis.get_data_interval">
<tt class="descname">get_data_interval</tt><big>(</big><big>)</big><a class="headerlink" href="#matplotlib.axis.Axis.get_data_interval" title="Permalink to this definition">¶</a></dt>
<dd><p>return the Interval instance for this axis data limits</p>
</dd></dl>

<dl class="method">
<dt id="matplotlib.axis.Axis.get_gridlines">
<tt class="descname">get_gridlines</tt><big>(</big><big>)</big><a class="headerlink" href="#matplotlib.axis.Axis.get_gridlines" title="Permalink to this definition">¶</a></dt>
<dd><p>Return the grid lines as a list of Line2D instance</p>
</dd></dl>

<dl class="method">
<dt id="matplotlib.axis.Axis.get_label">
<tt class="descname">get_label</tt><big>(</big><big>)</big><a class="headerlink" href="#matplotlib.axis.Axis.get_label" title="Permalink to this definition">¶</a></dt>
<dd><p>Return the axis label as a Text instance</p>
</dd></dl>

<dl class="method">
<dt id="matplotlib.axis.Axis.get_label_text">
<tt class="descname">get_label_text</tt><big>(</big><big>)</big><a class="headerlink" href="#matplotlib.axis.Axis.get_label_text" title="Permalink to this definition">¶</a></dt>
<dd><p>Get the text of the label</p>
</dd></dl>

<dl class="method">
<dt id="matplotlib.axis.Axis.get_major_formatter">
<tt class="descname">get_major_formatter</tt><big>(</big><big>)</big><a class="headerlink" href="#matplotlib.axis.Axis.get_major_formatter" title="Permalink to this definition">¶</a></dt>
<dd><p>Get the formatter of the major ticker</p>
</dd></dl>

<dl class="method">
<dt id="matplotlib.axis.Axis.get_major_locator">
<tt class="descname">get_major_locator</tt><big>(</big><big>)</big><a class="headerlink" href="#matplotlib.axis.Axis.get_major_locator" title="Permalink to this definition">¶</a></dt>
<dd><p>Get the locator of the major ticker</p>
</dd></dl>

<dl class="method">
<dt id="matplotlib.axis.Axis.get_major_ticks">
<tt class="descname">get_major_ticks</tt><big>(</big><em>numticks=None</em><big>)</big><a class="headerlink" href="#matplotlib.axis.Axis.get_major_ticks" title="Permalink to this definition">¶</a></dt>
<dd><p>get the tick instances; grow as necessary</p>
</dd></dl>

<dl class="method">
<dt id="matplotlib.axis.Axis.get_majorticklabels">
<tt class="descname">get_majorticklabels</tt><big>(</big><big>)</big><a class="headerlink" href="#matplotlib.axis.Axis.get_majorticklabels" title="Permalink to this definition">¶</a></dt>
<dd><p>Return a list of Text instances for the major ticklabels</p>
</dd></dl>

<dl class="method">
<dt id="matplotlib.axis.Axis.get_majorticklines">
<tt class="descname">get_majorticklines</tt><big>(</big><big>)</big><a class="headerlink" href="#matplotlib.axis.Axis.get_majorticklines" title="Permalink to this definition">¶</a></dt>
<dd><p>Return the major tick lines as a list of Line2D instances</p>
</dd></dl>

<dl class="method">
<dt id="matplotlib.axis.Axis.get_majorticklocs">
<tt class="descname">get_majorticklocs</tt><big>(</big><big>)</big><a class="headerlink" href="#matplotlib.axis.Axis.get_majorticklocs" title="Permalink to this definition">¶</a></dt>
<dd><p>Get the major tick locations in data coordinates as a numpy array</p>
</dd></dl>

<dl class="method">
<dt id="matplotlib.axis.Axis.get_minor_formatter">
<tt class="descname">get_minor_formatter</tt><big>(</big><big>)</big><a class="headerlink" href="#matplotlib.axis.Axis.get_minor_formatter" title="Permalink to this definition">¶</a></dt>
<dd><p>Get the formatter of the minor ticker</p>
</dd></dl>

<dl class="method">
<dt id="matplotlib.axis.Axis.get_minor_locator">
<tt class="descname">get_minor_locator</tt><big>(</big><big>)</big><a class="headerlink" href="#matplotlib.axis.Axis.get_minor_locator" title="Permalink to this definition">¶</a></dt>
<dd><p>Get the locator of the minor ticker</p>
</dd></dl>

<dl class="method">
<dt id="matplotlib.axis.Axis.get_minor_ticks">
<tt class="descname">get_minor_ticks</tt><big>(</big><em>numticks=None</em><big>)</big><a class="headerlink" href="#matplotlib.axis.Axis.get_minor_ticks" title="Permalink to this definition">¶</a></dt>
<dd><p>get the minor tick instances; grow as necessary</p>
</dd></dl>

<dl class="method">
<dt id="matplotlib.axis.Axis.get_minorticklabels">
<tt class="descname">get_minorticklabels</tt><big>(</big><big>)</big><a class="headerlink" href="#matplotlib.axis.Axis.get_minorticklabels" title="Permalink to this definition">¶</a></dt>
<dd><p>Return a list of Text instances for the minor ticklabels</p>
</dd></dl>

<dl class="method">
<dt id="matplotlib.axis.Axis.get_minorticklines">
<tt class="descname">get_minorticklines</tt><big>(</big><big>)</big><a class="headerlink" href="#matplotlib.axis.Axis.get_minorticklines" title="Permalink to this definition">¶</a></dt>
<dd><p>Return the minor tick lines as a list of Line2D instances</p>
</dd></dl>

<dl class="method">
<dt id="matplotlib.axis.Axis.get_minorticklocs">
<tt class="descname">get_minorticklocs</tt><big>(</big><big>)</big><a class="headerlink" href="#matplotlib.axis.Axis.get_minorticklocs" title="Permalink to this definition">¶</a></dt>
<dd><p>Get the minor tick locations in data coordinates as a numpy array</p>
</dd></dl>

<dl class="method">
<dt id="matplotlib.axis.Axis.get_offset_text">
<tt class="descname">get_offset_text</tt><big>(</big><big>)</big><a class="headerlink" href="#matplotlib.axis.Axis.get_offset_text" title="Permalink to this definition">¶</a></dt>
<dd><p>Return the axis offsetText as a Text instance</p>
</dd></dl>

<dl class="method">
<dt id="matplotlib.axis.Axis.get_pickradius">
<tt class="descname">get_pickradius</tt><big>(</big><big>)</big><a class="headerlink" href="#matplotlib.axis.Axis.get_pickradius" title="Permalink to this definition">¶</a></dt>
<dd><p>Return the depth of the axis used by the picker</p>
</dd></dl>

<dl class="method">
<dt id="matplotlib.axis.Axis.get_scale">
<tt class="descname">get_scale</tt><big>(</big><big>)</big><a class="headerlink" href="#matplotlib.axis.Axis.get_scale" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="matplotlib.axis.Axis.get_smart_bounds">
<tt class="descname">get_smart_bounds</tt><big>(</big><big>)</big><a class="headerlink" href="#matplotlib.axis.Axis.get_smart_bounds" title="Permalink to this definition">¶</a></dt>
<dd><p>get whether the axis has smart bounds</p>
</dd></dl>

<dl class="method">
<dt id="matplotlib.axis.Axis.get_ticklabel_extents">
<tt class="descname">get_ticklabel_extents</tt><big>(</big><em>renderer</em><big>)</big><a class="headerlink" href="#matplotlib.axis.Axis.get_ticklabel_extents" title="Permalink to this definition">¶</a></dt>
<dd><p>Get the extents of the tick labels on either side
of the axes.</p>
</dd></dl>

<dl class="method">
<dt id="matplotlib.axis.Axis.get_ticklabels">
<tt class="descname">get_ticklabels</tt><big>(</big><em>minor=False</em><big>)</big><a class="headerlink" href="#matplotlib.axis.Axis.get_ticklabels" title="Permalink to this definition">¶</a></dt>
<dd><p>Return a list of Text instances for ticklabels</p>
</dd></dl>

<dl class="method">
<dt id="matplotlib.axis.Axis.get_ticklines">
<tt class="descname">get_ticklines</tt><big>(</big><em>minor=False</em><big>)</big><a class="headerlink" href="#matplotlib.axis.Axis.get_ticklines" title="Permalink to this definition">¶</a></dt>
<dd><p>Return the tick lines as a list of Line2D instances</p>
</dd></dl>

<dl class="method">
<dt id="matplotlib.axis.Axis.get_ticklocs">
<tt class="descname">get_ticklocs</tt><big>(</big><em>minor=False</em><big>)</big><a class="headerlink" href="#matplotlib.axis.Axis.get_ticklocs" title="Permalink to this definition">¶</a></dt>
<dd><p>Get the tick locations in data coordinates as a numpy array</p>
</dd></dl>

<dl class="method">
<dt id="matplotlib.axis.Axis.get_tightbbox">
<tt class="descname">get_tightbbox</tt><big>(</big><em>renderer</em><big>)</big><a class="headerlink" href="#matplotlib.axis.Axis.get_tightbbox" title="Permalink to this definition">¶</a></dt>
<dd><p>Return a bounding box that encloses the axis. It only accounts
tick labels, axis label, and offsetText.</p>
</dd></dl>

<dl class="method">
<dt id="matplotlib.axis.Axis.get_transform">
<tt class="descname">get_transform</tt><big>(</big><big>)</big><a class="headerlink" href="#matplotlib.axis.Axis.get_transform" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="matplotlib.axis.Axis.get_units">
<tt class="descname">get_units</tt><big>(</big><big>)</big><a class="headerlink" href="#matplotlib.axis.Axis.get_units" title="Permalink to this definition">¶</a></dt>
<dd><p>return the units for axis</p>
</dd></dl>

<dl class="method">
<dt id="matplotlib.axis.Axis.get_view_interval">
<tt class="descname">get_view_interval</tt><big>(</big><big>)</big><a class="headerlink" href="#matplotlib.axis.Axis.get_view_interval" title="Permalink to this definition">¶</a></dt>
<dd><p>return the Interval instance for this axis view limits</p>
</dd></dl>

<dl class="method">
<dt id="matplotlib.axis.Axis.grid">
<tt class="descname">grid</tt><big>(</big><em>b=None</em>, <em>which='major'</em>, <em>**kwargs</em><big>)</big><a class="headerlink" href="#matplotlib.axis.Axis.grid" title="Permalink to this definition">¶</a></dt>
<dd><p>Set the axis grid on or off; b is a boolean. Use <em>which</em> =
&#8216;major&#8217; | &#8216;minor&#8217; | &#8216;both&#8217; to set the grid for major or minor ticks.</p>
<p>If <em>b</em> is <em>None</em> and len(kwargs)==0, toggle the grid state.  If
<em>kwargs</em> are supplied, it is assumed you want the grid on and <em>b</em>
will be set to True.</p>
<p><em>kwargs</em> are used to set the line properties of the grids, eg,</p>
<blockquote>
<div>xax.grid(color=&#8217;r&#8217;, linestyle=&#8217;-&#8216;, linewidth=2)</div></blockquote>
</dd></dl>

<dl class="method">
<dt id="matplotlib.axis.Axis.have_units">
<tt class="descname">have_units</tt><big>(</big><big>)</big><a class="headerlink" href="#matplotlib.axis.Axis.have_units" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="matplotlib.axis.Axis.iter_ticks">
<tt class="descname">iter_ticks</tt><big>(</big><big>)</big><a class="headerlink" href="#matplotlib.axis.Axis.iter_ticks" title="Permalink to this definition">¶</a></dt>
<dd><p>Iterate through all of the major and minor ticks.</p>
</dd></dl>

<dl class="method">
<dt id="matplotlib.axis.Axis.limit_range_for_scale">
<tt class="descname">limit_range_for_scale</tt><big>(</big><em>vmin</em>, <em>vmax</em><big>)</big><a class="headerlink" href="#matplotlib.axis.Axis.limit_range_for_scale" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="matplotlib.axis.Axis.pan">
<tt class="descname">pan</tt><big>(</big><em>numsteps</em><big>)</big><a class="headerlink" href="#matplotlib.axis.Axis.pan" title="Permalink to this definition">¶</a></dt>
<dd><p>Pan <em>numsteps</em> (can be positive or negative)</p>
</dd></dl>

<dl class="method">
<dt id="matplotlib.axis.Axis.reset_ticks">
<tt class="descname">reset_ticks</tt><big>(</big><big>)</big><a class="headerlink" href="#matplotlib.axis.Axis.reset_ticks" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="matplotlib.axis.Axis.set_clip_path">
<tt class="descname">set_clip_path</tt><big>(</big><em>clippath</em>, <em>transform=None</em><big>)</big><a class="headerlink" href="#matplotlib.axis.Axis.set_clip_path" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="matplotlib.axis.Axis.set_data_interval">
<tt class="descname">set_data_interval</tt><big>(</big><big>)</big><a class="headerlink" href="#matplotlib.axis.Axis.set_data_interval" title="Permalink to this definition">¶</a></dt>
<dd><p>set the axis data limits</p>
</dd></dl>

<dl class="method">
<dt id="matplotlib.axis.Axis.set_default_intervals">
<tt class="descname">set_default_intervals</tt><big>(</big><big>)</big><a class="headerlink" href="#matplotlib.axis.Axis.set_default_intervals" title="Permalink to this definition">¶</a></dt>
<dd><p>set the default limits for the axis data and view interval if they are not mutated</p>
</dd></dl>

<dl class="method">
<dt id="matplotlib.axis.Axis.set_label_coords">
<tt class="descname">set_label_coords</tt><big>(</big><em>x</em>, <em>y</em>, <em>transform=None</em><big>)</big><a class="headerlink" href="#matplotlib.axis.Axis.set_label_coords" title="Permalink to this definition">¶</a></dt>
<dd><p>Set the coordinates of the label.  By default, the x
coordinate of the y label is determined by the tick label
bounding boxes, but this can lead to poor alignment of
multiple ylabels if there are multiple axes.  Ditto for the y
coodinate of the x label.</p>
<p>You can also specify the coordinate system of the label with
the transform.  If None, the default coordinate system will be
the axes coordinate system (0,0) is (left,bottom), (0.5, 0.5)
is middle, etc</p>
</dd></dl>

<dl class="method">
<dt id="matplotlib.axis.Axis.set_label_text">
<tt class="descname">set_label_text</tt><big>(</big><em>label</em>, <em>fontdict=None</em>, <em>**kwargs</em><big>)</big><a class="headerlink" href="#matplotlib.axis.Axis.set_label_text" title="Permalink to this definition">¶</a></dt>
<dd><p>Sets the text value of the axis label</p>
<p>ACCEPTS: A string value for the label</p>
</dd></dl>

<dl class="method">
<dt id="matplotlib.axis.Axis.set_major_formatter">
<tt class="descname">set_major_formatter</tt><big>(</big><em>formatter</em><big>)</big><a class="headerlink" href="#matplotlib.axis.Axis.set_major_formatter" title="Permalink to this definition">¶</a></dt>
<dd><p>Set the formatter of the major ticker</p>
<p>ACCEPTS: A <a class="reference internal" href="ticker_api.html#matplotlib.ticker.Formatter" title="matplotlib.ticker.Formatter"><tt class="xref py py-class docutils literal"><span class="pre">Formatter</span></tt></a> instance</p>
</dd></dl>

<dl class="method">
<dt id="matplotlib.axis.Axis.set_major_locator">
<tt class="descname">set_major_locator</tt><big>(</big><em>locator</em><big>)</big><a class="headerlink" href="#matplotlib.axis.Axis.set_major_locator" title="Permalink to this definition">¶</a></dt>
<dd><p>Set the locator of the major ticker</p>
<p>ACCEPTS: a <a class="reference internal" href="ticker_api.html#matplotlib.ticker.Locator" title="matplotlib.ticker.Locator"><tt class="xref py py-class docutils literal"><span class="pre">Locator</span></tt></a> instance</p>
</dd></dl>

<dl class="method">
<dt id="matplotlib.axis.Axis.set_minor_formatter">
<tt class="descname">set_minor_formatter</tt><big>(</big><em>formatter</em><big>)</big><a class="headerlink" href="#matplotlib.axis.Axis.set_minor_formatter" title="Permalink to this definition">¶</a></dt>
<dd><p>Set the formatter of the minor ticker</p>
<p>ACCEPTS: A <a class="reference internal" href="ticker_api.html#matplotlib.ticker.Formatter" title="matplotlib.ticker.Formatter"><tt class="xref py py-class docutils literal"><span class="pre">Formatter</span></tt></a> instance</p>
</dd></dl>

<dl class="method">
<dt id="matplotlib.axis.Axis.set_minor_locator">
<tt class="descname">set_minor_locator</tt><big>(</big><em>locator</em><big>)</big><a class="headerlink" href="#matplotlib.axis.Axis.set_minor_locator" title="Permalink to this definition">¶</a></dt>
<dd><p>Set the locator of the minor ticker</p>
<p>ACCEPTS: a <a class="reference internal" href="ticker_api.html#matplotlib.ticker.Locator" title="matplotlib.ticker.Locator"><tt class="xref py py-class docutils literal"><span class="pre">Locator</span></tt></a> instance</p>
</dd></dl>

<dl class="method">
<dt id="matplotlib.axis.Axis.set_pickradius">
<tt class="descname">set_pickradius</tt><big>(</big><em>pickradius</em><big>)</big><a class="headerlink" href="#matplotlib.axis.Axis.set_pickradius" title="Permalink to this definition">¶</a></dt>
<dd><p>Set the depth of the axis used by the picker</p>
<p>ACCEPTS: a distance in points</p>
</dd></dl>

<dl class="method">
<dt id="matplotlib.axis.Axis.set_scale">
<tt class="descname">set_scale</tt><big>(</big><em>value</em>, <em>**kwargs</em><big>)</big><a class="headerlink" href="#matplotlib.axis.Axis.set_scale" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="matplotlib.axis.Axis.set_smart_bounds">
<tt class="descname">set_smart_bounds</tt><big>(</big><em>value</em><big>)</big><a class="headerlink" href="#matplotlib.axis.Axis.set_smart_bounds" title="Permalink to this definition">¶</a></dt>
<dd><p>set the axis to have smart bounds</p>
</dd></dl>

<dl class="method">
<dt id="matplotlib.axis.Axis.set_tick_params">
<tt class="descname">set_tick_params</tt><big>(</big><em>which='major'</em>, <em>reset=False</em>, <em>**kw</em><big>)</big><a class="headerlink" href="#matplotlib.axis.Axis.set_tick_params" title="Permalink to this definition">¶</a></dt>
<dd><p>Set appearance parameters for ticks and ticklabels.</p>
<p>For documentation of keyword arguments, see
<a class="reference internal" href="axes_api.html#matplotlib.axes.Axes.tick_params" title="matplotlib.axes.Axes.tick_params"><tt class="xref py py-meth docutils literal"><span class="pre">matplotlib.axes.Axes.tick_params()</span></tt></a>.</p>
</dd></dl>

<dl class="method">
<dt id="matplotlib.axis.Axis.set_ticklabels">
<tt class="descname">set_ticklabels</tt><big>(</big><em>ticklabels</em>, <em>*args</em>, <em>**kwargs</em><big>)</big><a class="headerlink" href="#matplotlib.axis.Axis.set_ticklabels" title="Permalink to this definition">¶</a></dt>
<dd><p>Set the text values of the tick labels. Return a list of Text
instances.  Use <em>kwarg</em> <em>minor=True</em> to select minor ticks.
All other kwargs are used to update the text object properties.
As for get_ticklabels, label1 (left or bottom) is
affected for a given tick only if its label1On attribute
is True, and similarly for label2.  The list of returned
label text objects consists of all such label1 objects followed
by all such label2 objects.</p>
<p>The input <em>ticklabels</em> is assumed to match the set of
tick locations, regardless of the state of label1On and
label2On.</p>
<p>ACCEPTS: sequence of strings</p>
</dd></dl>

<dl class="method">
<dt id="matplotlib.axis.Axis.set_ticks">
<tt class="descname">set_ticks</tt><big>(</big><em>ticks</em>, <em>minor=False</em><big>)</big><a class="headerlink" href="#matplotlib.axis.Axis.set_ticks" title="Permalink to this definition">¶</a></dt>
<dd><p>Set the locations of the tick marks from sequence ticks</p>
<p>ACCEPTS: sequence of floats</p>
</dd></dl>

<dl class="method">
<dt id="matplotlib.axis.Axis.set_units">
<tt class="descname">set_units</tt><big>(</big><em>u</em><big>)</big><a class="headerlink" href="#matplotlib.axis.Axis.set_units" title="Permalink to this definition">¶</a></dt>
<dd><p>set the units for axis</p>
<p>ACCEPTS: a units tag</p>
</dd></dl>

<dl class="method">
<dt id="matplotlib.axis.Axis.set_view_interval">
<tt class="descname">set_view_interval</tt><big>(</big><em>vmin</em>, <em>vmax</em>, <em>ignore=False</em><big>)</big><a class="headerlink" href="#matplotlib.axis.Axis.set_view_interval" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="matplotlib.axis.Axis.update_units">
<tt class="descname">update_units</tt><big>(</big><em>data</em><big>)</big><a class="headerlink" href="#matplotlib.axis.Axis.update_units" title="Permalink to this definition">¶</a></dt>
<dd><p>introspect <em>data</em> for units converter and update the
axis.converter instance if necessary. Return <em>True</em>
if <em>data</em> is registered for unit conversion.</p>
</dd></dl>

<dl class="method">
<dt id="matplotlib.axis.Axis.zoom">
<tt class="descname">zoom</tt><big>(</big><em>direction</em><big>)</big><a class="headerlink" href="#matplotlib.axis.Axis.zoom" title="Permalink to this definition">¶</a></dt>
<dd><p>Zoom in/out on axis; if <em>direction</em> is &gt;0 zoom in, else zoom out</p>
</dd></dl>

</dd></dl>

<dl class="class">
<dt id="matplotlib.axis.Tick">
<em class="property">class </em><tt class="descclassname">matplotlib.axis.</tt><tt class="descname">Tick</tt><big>(</big><em>axes</em>, <em>loc</em>, <em>label</em>, <em>size=None</em>, <em>width=None</em>, <em>color=None</em>, <em>tickdir=None</em>, <em>pad=None</em>, <em>labelsize=None</em>, <em>labelcolor=None</em>, <em>zorder=None</em>, <em>gridOn=None</em>, <em>tick1On=True</em>, <em>tick2On=True</em>, <em>label1On=True</em>, <em>label2On=False</em>, <em>major=True</em><big>)</big><a class="headerlink" href="#matplotlib.axis.Tick" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <a class="reference internal" href="artist_api.html#matplotlib.artist.Artist" title="matplotlib.artist.Artist"><tt class="xref py py-class docutils literal"><span class="pre">matplotlib.artist.Artist</span></tt></a></p>
<p>Abstract base class for the axis ticks, grid lines and labels</p>
<p>1 refers to the bottom of the plot for xticks and the left for yticks
2 refers to the top of the plot for xticks and the right for yticks</p>
<p>Publicly accessible attributes:</p>
<blockquote>
<div><dl class="docutils">
<dt><tt class="xref py py-attr docutils literal"><span class="pre">tick1line</span></tt></dt>
<dd>a Line2D instance</dd>
<dt><tt class="xref py py-attr docutils literal"><span class="pre">tick2line</span></tt></dt>
<dd>a Line2D instance</dd>
<dt><tt class="xref py py-attr docutils literal"><span class="pre">gridline</span></tt></dt>
<dd>a Line2D instance</dd>
<dt><tt class="xref py py-attr docutils literal"><span class="pre">label1</span></tt></dt>
<dd>a Text instance</dd>
<dt><tt class="xref py py-attr docutils literal"><span class="pre">label2</span></tt></dt>
<dd>a Text instance</dd>
<dt><tt class="xref py py-attr docutils literal"><span class="pre">gridOn</span></tt></dt>
<dd>a boolean which determines whether to draw the tickline</dd>
<dt><tt class="xref py py-attr docutils literal"><span class="pre">tick1On</span></tt></dt>
<dd>a boolean which determines whether to draw the 1st tickline</dd>
<dt><tt class="xref py py-attr docutils literal"><span class="pre">tick2On</span></tt></dt>
<dd>a boolean which determines whether to draw the 2nd tickline</dd>
<dt><tt class="xref py py-attr docutils literal"><span class="pre">label1On</span></tt></dt>
<dd>a boolean which determines whether to draw tick label</dd>
<dt><tt class="xref py py-attr docutils literal"><span class="pre">label2On</span></tt></dt>
<dd>a boolean which determines whether to draw tick label</dd>
</dl>
</div></blockquote>
<p>bbox is the Bound2D bounding box in display coords of the Axes
loc is the tick location in data coords
size is the tick size in points</p>
<dl class="method">
<dt id="matplotlib.axis.Tick.apply_tickdir">
<tt class="descname">apply_tickdir</tt><big>(</big><em>tickdir</em><big>)</big><a class="headerlink" href="#matplotlib.axis.Tick.apply_tickdir" title="Permalink to this definition">¶</a></dt>
<dd><p>Calculate self._pad and self._tickmarkers</p>
</dd></dl>

<dl class="method">
<dt id="matplotlib.axis.Tick.contains">
<tt class="descname">contains</tt><big>(</big><em>mouseevent</em><big>)</big><a class="headerlink" href="#matplotlib.axis.Tick.contains" title="Permalink to this definition">¶</a></dt>
<dd><p>Test whether the mouse event occurred in the Tick marks.</p>
<p>This function always returns false.  It is more useful to test if the
axis as a whole contains the mouse rather than the set of tick marks.</p>
</dd></dl>

<dl class="method">
<dt id="matplotlib.axis.Tick.draw">
<tt class="descname">draw</tt><big>(</big><em>artist</em>, <em>renderer</em>, <em>*args</em>, <em>**kwargs</em><big>)</big><a class="headerlink" href="#matplotlib.axis.Tick.draw" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="matplotlib.axis.Tick.get_children">
<tt class="descname">get_children</tt><big>(</big><big>)</big><a class="headerlink" href="#matplotlib.axis.Tick.get_children" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="matplotlib.axis.Tick.get_loc">
<tt class="descname">get_loc</tt><big>(</big><big>)</big><a class="headerlink" href="#matplotlib.axis.Tick.get_loc" title="Permalink to this definition">¶</a></dt>
<dd><p>Return the tick location (data coords) as a scalar</p>
</dd></dl>

<dl class="method">
<dt id="matplotlib.axis.Tick.get_pad">
<tt class="descname">get_pad</tt><big>(</big><big>)</big><a class="headerlink" href="#matplotlib.axis.Tick.get_pad" title="Permalink to this definition">¶</a></dt>
<dd><p>Get the value of the tick label pad in points</p>
</dd></dl>

<dl class="method">
<dt id="matplotlib.axis.Tick.get_pad_pixels">
<tt class="descname">get_pad_pixels</tt><big>(</big><big>)</big><a class="headerlink" href="#matplotlib.axis.Tick.get_pad_pixels" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="matplotlib.axis.Tick.get_view_interval">
<tt class="descname">get_view_interval</tt><big>(</big><big>)</big><a class="headerlink" href="#matplotlib.axis.Tick.get_view_interval" title="Permalink to this definition">¶</a></dt>
<dd><p>return the view Interval instance for the axis this tick is ticking</p>
</dd></dl>

<dl class="method">
<dt id="matplotlib.axis.Tick.set_clip_path">
<tt class="descname">set_clip_path</tt><big>(</big><em>clippath</em>, <em>transform=None</em><big>)</big><a class="headerlink" href="#matplotlib.axis.Tick.set_clip_path" title="Permalink to this definition">¶</a></dt>
<dd><p>Set the artist&#8217;s clip path, which may be:</p>
<blockquote>
<div><ul>
<li><p class="first">a <a class="reference internal" href="artist_api.html#matplotlib.patches.Patch" title="matplotlib.patches.Patch"><tt class="xref py py-class docutils literal"><span class="pre">Patch</span></tt></a> (or subclass) instance</p>
</li>
<li><dl class="first docutils">
<dt>a <a class="reference internal" href="path_api.html#matplotlib.path.Path" title="matplotlib.path.Path"><tt class="xref py py-class docutils literal"><span class="pre">Path</span></tt></a> instance, in which case</dt>
<dd><p class="first last">an optional <a class="reference internal" href="../devel/transformations.html#matplotlib.transforms.Transform" title="matplotlib.transforms.Transform"><tt class="xref py py-class docutils literal"><span class="pre">Transform</span></tt></a>
instance may be provided, which will be applied to the
path before using it for clipping.</p>
</dd>
</dl>
</li>
<li><p class="first"><em>None</em>, to remove the clipping path</p>
</li>
</ul>
</div></blockquote>
<p>For efficiency, if the path happens to be an axis-aligned
rectangle, this method will set the clipping box to the
corresponding rectangle and set the clipping path to <em>None</em>.</p>
<p>ACCEPTS: [ (<a class="reference internal" href="path_api.html#matplotlib.path.Path" title="matplotlib.path.Path"><tt class="xref py py-class docutils literal"><span class="pre">Path</span></tt></a>,
<a class="reference internal" href="../devel/transformations.html#matplotlib.transforms.Transform" title="matplotlib.transforms.Transform"><tt class="xref py py-class docutils literal"><span class="pre">Transform</span></tt></a>) |
<a class="reference internal" href="artist_api.html#matplotlib.patches.Patch" title="matplotlib.patches.Patch"><tt class="xref py py-class docutils literal"><span class="pre">Patch</span></tt></a> | None ]</p>
</dd></dl>

<dl class="method">
<dt id="matplotlib.axis.Tick.set_label">
<tt class="descname">set_label</tt><big>(</big><em>s</em><big>)</big><a class="headerlink" href="#matplotlib.axis.Tick.set_label" title="Permalink to this definition">¶</a></dt>
<dd><p>Set the text of ticklabel</p>
<p>ACCEPTS: str</p>
</dd></dl>

<dl class="method">
<dt id="matplotlib.axis.Tick.set_label1">
<tt class="descname">set_label1</tt><big>(</big><em>s</em><big>)</big><a class="headerlink" href="#matplotlib.axis.Tick.set_label1" title="Permalink to this definition">¶</a></dt>
<dd><p>Set the text of ticklabel</p>
<p>ACCEPTS: str</p>
</dd></dl>

<dl class="method">
<dt id="matplotlib.axis.Tick.set_label2">
<tt class="descname">set_label2</tt><big>(</big><em>s</em><big>)</big><a class="headerlink" href="#matplotlib.axis.Tick.set_label2" title="Permalink to this definition">¶</a></dt>
<dd><p>Set the text of ticklabel2</p>
<p>ACCEPTS: str</p>
</dd></dl>

<dl class="method">
<dt id="matplotlib.axis.Tick.set_pad">
<tt class="descname">set_pad</tt><big>(</big><em>val</em><big>)</big><a class="headerlink" href="#matplotlib.axis.Tick.set_pad" title="Permalink to this definition">¶</a></dt>
<dd><p>Set the tick label pad in points</p>
<p>ACCEPTS: float</p>
</dd></dl>

</dd></dl>

<dl class="class">
<dt id="matplotlib.axis.Ticker">
<em class="property">class </em><tt class="descclassname">matplotlib.axis.</tt><tt class="descname">Ticker</tt><a class="headerlink" href="#matplotlib.axis.Ticker" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="class">
<dt id="matplotlib.axis.XAxis">
<em class="property">class </em><tt class="descclassname">matplotlib.axis.</tt><tt class="descname">XAxis</tt><big>(</big><em>axes</em>, <em>pickradius=15</em><big>)</big><a class="headerlink" href="#matplotlib.axis.XAxis" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <a class="reference internal" href="#matplotlib.axis.Axis" title="matplotlib.axis.Axis"><tt class="xref py py-class docutils literal"><span class="pre">matplotlib.axis.Axis</span></tt></a></p>
<p>Init the axis with the parent Axes instance</p>
<dl class="method">
<dt id="matplotlib.axis.XAxis.contains">
<tt class="descname">contains</tt><big>(</big><em>mouseevent</em><big>)</big><a class="headerlink" href="#matplotlib.axis.XAxis.contains" title="Permalink to this definition">¶</a></dt>
<dd><p>Test whether the mouse event occured in the x axis.</p>
</dd></dl>

<dl class="method">
<dt id="matplotlib.axis.XAxis.get_data_interval">
<tt class="descname">get_data_interval</tt><big>(</big><big>)</big><a class="headerlink" href="#matplotlib.axis.XAxis.get_data_interval" title="Permalink to this definition">¶</a></dt>
<dd><p>return the Interval instance for this axis data limits</p>
</dd></dl>

<dl class="method">
<dt id="matplotlib.axis.XAxis.get_label_position">
<tt class="descname">get_label_position</tt><big>(</big><big>)</big><a class="headerlink" href="#matplotlib.axis.XAxis.get_label_position" title="Permalink to this definition">¶</a></dt>
<dd><p>Return the label position (top or bottom)</p>
</dd></dl>

<dl class="method">
<dt id="matplotlib.axis.XAxis.get_minpos">
<tt class="descname">get_minpos</tt><big>(</big><big>)</big><a class="headerlink" href="#matplotlib.axis.XAxis.get_minpos" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="matplotlib.axis.XAxis.get_text_heights">
<tt class="descname">get_text_heights</tt><big>(</big><em>renderer</em><big>)</big><a class="headerlink" href="#matplotlib.axis.XAxis.get_text_heights" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns the amount of space one should reserve for text
above and below the axes.  Returns a tuple (above, below)</p>
</dd></dl>

<dl class="method">
<dt id="matplotlib.axis.XAxis.get_ticks_position">
<tt class="descname">get_ticks_position</tt><big>(</big><big>)</big><a class="headerlink" href="#matplotlib.axis.XAxis.get_ticks_position" title="Permalink to this definition">¶</a></dt>
<dd><p>Return the ticks position (top, bottom, default or unknown)</p>
</dd></dl>

<dl class="method">
<dt id="matplotlib.axis.XAxis.get_view_interval">
<tt class="descname">get_view_interval</tt><big>(</big><big>)</big><a class="headerlink" href="#matplotlib.axis.XAxis.get_view_interval" title="Permalink to this definition">¶</a></dt>
<dd><p>return the Interval instance for this axis view limits</p>
</dd></dl>

<dl class="method">
<dt id="matplotlib.axis.XAxis.set_data_interval">
<tt class="descname">set_data_interval</tt><big>(</big><em>vmin</em>, <em>vmax</em>, <em>ignore=False</em><big>)</big><a class="headerlink" href="#matplotlib.axis.XAxis.set_data_interval" title="Permalink to this definition">¶</a></dt>
<dd><p>set the axis data limits</p>
</dd></dl>

<dl class="method">
<dt id="matplotlib.axis.XAxis.set_default_intervals">
<tt class="descname">set_default_intervals</tt><big>(</big><big>)</big><a class="headerlink" href="#matplotlib.axis.XAxis.set_default_intervals" title="Permalink to this definition">¶</a></dt>
<dd><p>set the default limits for the axis interval if they are not mutated</p>
</dd></dl>

<dl class="method">
<dt id="matplotlib.axis.XAxis.set_label_position">
<tt class="descname">set_label_position</tt><big>(</big><em>position</em><big>)</big><a class="headerlink" href="#matplotlib.axis.XAxis.set_label_position" title="Permalink to this definition">¶</a></dt>
<dd><p>Set the label position (top or bottom)</p>
<p>ACCEPTS: [ &#8216;top&#8217; | &#8216;bottom&#8217; ]</p>
</dd></dl>

<dl class="method">
<dt id="matplotlib.axis.XAxis.set_ticks_position">
<tt class="descname">set_ticks_position</tt><big>(</big><em>position</em><big>)</big><a class="headerlink" href="#matplotlib.axis.XAxis.set_ticks_position" title="Permalink to this definition">¶</a></dt>
<dd><p>Set the ticks position (top, bottom, both, default or none)
both sets the ticks to appear on both positions, but does not
change the tick labels.  &#8216;default&#8217; resets the tick positions to
the default: ticks on both positions, labels at bottom.  &#8216;none&#8217;
can be used if you don&#8217;t want any ticks. &#8216;none&#8217; and &#8216;both&#8217;
affect only the ticks, not the labels.</p>
<p>ACCEPTS: [ &#8216;top&#8217; | &#8216;bottom&#8217; | &#8216;both&#8217; | &#8216;default&#8217; | &#8216;none&#8217; ]</p>
</dd></dl>

<dl class="method">
<dt id="matplotlib.axis.XAxis.set_view_interval">
<tt class="descname">set_view_interval</tt><big>(</big><em>vmin</em>, <em>vmax</em>, <em>ignore=False</em><big>)</big><a class="headerlink" href="#matplotlib.axis.XAxis.set_view_interval" title="Permalink to this definition">¶</a></dt>
<dd><p>If <em>ignore</em> is <em>False</em>, the order of vmin, vmax
does not matter; the original axis orientation will
be preserved. In addition, the view limits can be
expanded, but will not be reduced.  This method is
for mpl internal use; for normal use, see
<a class="reference internal" href="axes_api.html#matplotlib.axes.Axes.set_xlim" title="matplotlib.axes.Axes.set_xlim"><tt class="xref py py-meth docutils literal"><span class="pre">set_xlim()</span></tt></a>.</p>
</dd></dl>

<dl class="method">
<dt id="matplotlib.axis.XAxis.tick_bottom">
<tt class="descname">tick_bottom</tt><big>(</big><big>)</big><a class="headerlink" href="#matplotlib.axis.XAxis.tick_bottom" title="Permalink to this definition">¶</a></dt>
<dd><p>use ticks only on bottom</p>
</dd></dl>

<dl class="method">
<dt id="matplotlib.axis.XAxis.tick_top">
<tt class="descname">tick_top</tt><big>(</big><big>)</big><a class="headerlink" href="#matplotlib.axis.XAxis.tick_top" title="Permalink to this definition">¶</a></dt>
<dd><p>use ticks only on top</p>
</dd></dl>

</dd></dl>

<dl class="class">
<dt id="matplotlib.axis.XTick">
<em class="property">class </em><tt class="descclassname">matplotlib.axis.</tt><tt class="descname">XTick</tt><big>(</big><em>axes</em>, <em>loc</em>, <em>label</em>, <em>size=None</em>, <em>width=None</em>, <em>color=None</em>, <em>tickdir=None</em>, <em>pad=None</em>, <em>labelsize=None</em>, <em>labelcolor=None</em>, <em>zorder=None</em>, <em>gridOn=None</em>, <em>tick1On=True</em>, <em>tick2On=True</em>, <em>label1On=True</em>, <em>label2On=False</em>, <em>major=True</em><big>)</big><a class="headerlink" href="#matplotlib.axis.XTick" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <a class="reference internal" href="#matplotlib.axis.Tick" title="matplotlib.axis.Tick"><tt class="xref py py-class docutils literal"><span class="pre">matplotlib.axis.Tick</span></tt></a></p>
<p>Contains all the Artists needed to make an x tick - the tick line,
the label text and the grid line</p>
<p>bbox is the Bound2D bounding box in display coords of the Axes
loc is the tick location in data coords
size is the tick size in points</p>
<dl class="method">
<dt id="matplotlib.axis.XTick.apply_tickdir">
<tt class="descname">apply_tickdir</tt><big>(</big><em>tickdir</em><big>)</big><a class="headerlink" href="#matplotlib.axis.XTick.apply_tickdir" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="matplotlib.axis.XTick.get_view_interval">
<tt class="descname">get_view_interval</tt><big>(</big><big>)</big><a class="headerlink" href="#matplotlib.axis.XTick.get_view_interval" title="Permalink to this definition">¶</a></dt>
<dd><p>return the Interval instance for this axis view limits</p>
</dd></dl>

<dl class="method">
<dt id="matplotlib.axis.XTick.update_position">
<tt class="descname">update_position</tt><big>(</big><em>loc</em><big>)</big><a class="headerlink" href="#matplotlib.axis.XTick.update_position" title="Permalink to this definition">¶</a></dt>
<dd><p>Set the location of tick in data coords with scalar <em>loc</em></p>
</dd></dl>

</dd></dl>

<dl class="class">
<dt id="matplotlib.axis.YAxis">
<em class="property">class </em><tt class="descclassname">matplotlib.axis.</tt><tt class="descname">YAxis</tt><big>(</big><em>axes</em>, <em>pickradius=15</em><big>)</big><a class="headerlink" href="#matplotlib.axis.YAxis" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <a class="reference internal" href="#matplotlib.axis.Axis" title="matplotlib.axis.Axis"><tt class="xref py py-class docutils literal"><span class="pre">matplotlib.axis.Axis</span></tt></a></p>
<p>Init the axis with the parent Axes instance</p>
<dl class="method">
<dt id="matplotlib.axis.YAxis.contains">
<tt class="descname">contains</tt><big>(</big><em>mouseevent</em><big>)</big><a class="headerlink" href="#matplotlib.axis.YAxis.contains" title="Permalink to this definition">¶</a></dt>
<dd><p>Test whether the mouse event occurred in the y axis.</p>
<p>Returns <em>True</em> | <em>False</em></p>
</dd></dl>

<dl class="method">
<dt id="matplotlib.axis.YAxis.get_data_interval">
<tt class="descname">get_data_interval</tt><big>(</big><big>)</big><a class="headerlink" href="#matplotlib.axis.YAxis.get_data_interval" title="Permalink to this definition">¶</a></dt>
<dd><p>return the Interval instance for this axis data limits</p>
</dd></dl>

<dl class="method">
<dt id="matplotlib.axis.YAxis.get_label_position">
<tt class="descname">get_label_position</tt><big>(</big><big>)</big><a class="headerlink" href="#matplotlib.axis.YAxis.get_label_position" title="Permalink to this definition">¶</a></dt>
<dd><p>Return the label position (left or right)</p>
</dd></dl>

<dl class="method">
<dt id="matplotlib.axis.YAxis.get_minpos">
<tt class="descname">get_minpos</tt><big>(</big><big>)</big><a class="headerlink" href="#matplotlib.axis.YAxis.get_minpos" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="matplotlib.axis.YAxis.get_text_widths">
<tt class="descname">get_text_widths</tt><big>(</big><em>renderer</em><big>)</big><a class="headerlink" href="#matplotlib.axis.YAxis.get_text_widths" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="matplotlib.axis.YAxis.get_ticks_position">
<tt class="descname">get_ticks_position</tt><big>(</big><big>)</big><a class="headerlink" href="#matplotlib.axis.YAxis.get_ticks_position" title="Permalink to this definition">¶</a></dt>
<dd><p>Return the ticks position (left, right, both or unknown)</p>
</dd></dl>

<dl class="method">
<dt id="matplotlib.axis.YAxis.get_view_interval">
<tt class="descname">get_view_interval</tt><big>(</big><big>)</big><a class="headerlink" href="#matplotlib.axis.YAxis.get_view_interval" title="Permalink to this definition">¶</a></dt>
<dd><p>return the Interval instance for this axis view limits</p>
</dd></dl>

<dl class="method">
<dt id="matplotlib.axis.YAxis.set_data_interval">
<tt class="descname">set_data_interval</tt><big>(</big><em>vmin</em>, <em>vmax</em>, <em>ignore=False</em><big>)</big><a class="headerlink" href="#matplotlib.axis.YAxis.set_data_interval" title="Permalink to this definition">¶</a></dt>
<dd><p>set the axis data limits</p>
</dd></dl>

<dl class="method">
<dt id="matplotlib.axis.YAxis.set_default_intervals">
<tt class="descname">set_default_intervals</tt><big>(</big><big>)</big><a class="headerlink" href="#matplotlib.axis.YAxis.set_default_intervals" title="Permalink to this definition">¶</a></dt>
<dd><p>set the default limits for the axis interval if they are not mutated</p>
</dd></dl>

<dl class="method">
<dt id="matplotlib.axis.YAxis.set_label_position">
<tt class="descname">set_label_position</tt><big>(</big><em>position</em><big>)</big><a class="headerlink" href="#matplotlib.axis.YAxis.set_label_position" title="Permalink to this definition">¶</a></dt>
<dd><p>Set the label position (left or right)</p>
<p>ACCEPTS: [ &#8216;left&#8217; | &#8216;right&#8217; ]</p>
</dd></dl>

<dl class="method">
<dt id="matplotlib.axis.YAxis.set_offset_position">
<tt class="descname">set_offset_position</tt><big>(</big><em>position</em><big>)</big><a class="headerlink" href="#matplotlib.axis.YAxis.set_offset_position" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="matplotlib.axis.YAxis.set_ticks_position">
<tt class="descname">set_ticks_position</tt><big>(</big><em>position</em><big>)</big><a class="headerlink" href="#matplotlib.axis.YAxis.set_ticks_position" title="Permalink to this definition">¶</a></dt>
<dd><p>Set the ticks position (left, right, both, default or none)
&#8216;both&#8217; sets the ticks to appear on both positions, but does not
change the tick labels.  &#8216;default&#8217; resets the tick positions to
the default: ticks on both positions, labels at left.  &#8216;none&#8217;
can be used if you don&#8217;t want any ticks. &#8216;none&#8217; and &#8216;both&#8217;
affect only the ticks, not the labels.</p>
<p>ACCEPTS: [ &#8216;left&#8217; | &#8216;right&#8217; | &#8216;both&#8217; | &#8216;default&#8217; | &#8216;none&#8217; ]</p>
</dd></dl>

<dl class="method">
<dt id="matplotlib.axis.YAxis.set_view_interval">
<tt class="descname">set_view_interval</tt><big>(</big><em>vmin</em>, <em>vmax</em>, <em>ignore=False</em><big>)</big><a class="headerlink" href="#matplotlib.axis.YAxis.set_view_interval" title="Permalink to this definition">¶</a></dt>
<dd><p>If <em>ignore</em> is <em>False</em>, the order of vmin, vmax
does not matter; the original axis orientation will
be preserved. In addition, the view limits can be
expanded, but will not be reduced.  This method is
for mpl internal use; for normal use, see
<a class="reference internal" href="axes_api.html#matplotlib.axes.Axes.set_ylim" title="matplotlib.axes.Axes.set_ylim"><tt class="xref py py-meth docutils literal"><span class="pre">set_ylim()</span></tt></a>.</p>
</dd></dl>

<dl class="method">
<dt id="matplotlib.axis.YAxis.tick_left">
<tt class="descname">tick_left</tt><big>(</big><big>)</big><a class="headerlink" href="#matplotlib.axis.YAxis.tick_left" title="Permalink to this definition">¶</a></dt>
<dd><p>use ticks only on left</p>
</dd></dl>

<dl class="method">
<dt id="matplotlib.axis.YAxis.tick_right">
<tt class="descname">tick_right</tt><big>(</big><big>)</big><a class="headerlink" href="#matplotlib.axis.YAxis.tick_right" title="Permalink to this definition">¶</a></dt>
<dd><p>use ticks only on right</p>
</dd></dl>

</dd></dl>

<dl class="class">
<dt id="matplotlib.axis.YTick">
<em class="property">class </em><tt class="descclassname">matplotlib.axis.</tt><tt class="descname">YTick</tt><big>(</big><em>axes</em>, <em>loc</em>, <em>label</em>, <em>size=None</em>, <em>width=None</em>, <em>color=None</em>, <em>tickdir=None</em>, <em>pad=None</em>, <em>labelsize=None</em>, <em>labelcolor=None</em>, <em>zorder=None</em>, <em>gridOn=None</em>, <em>tick1On=True</em>, <em>tick2On=True</em>, <em>label1On=True</em>, <em>label2On=False</em>, <em>major=True</em><big>)</big><a class="headerlink" href="#matplotlib.axis.YTick" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <a class="reference internal" href="#matplotlib.axis.Tick" title="matplotlib.axis.Tick"><tt class="xref py py-class docutils literal"><span class="pre">matplotlib.axis.Tick</span></tt></a></p>
<p>Contains all the Artists needed to make a Y tick - the tick line,
the label text and the grid line</p>
<p>bbox is the Bound2D bounding box in display coords of the Axes
loc is the tick location in data coords
size is the tick size in points</p>
<dl class="method">
<dt id="matplotlib.axis.YTick.apply_tickdir">
<tt class="descname">apply_tickdir</tt><big>(</big><em>tickdir</em><big>)</big><a class="headerlink" href="#matplotlib.axis.YTick.apply_tickdir" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="matplotlib.axis.YTick.get_view_interval">
<tt class="descname">get_view_interval</tt><big>(</big><big>)</big><a class="headerlink" href="#matplotlib.axis.YTick.get_view_interval" title="Permalink to this definition">¶</a></dt>
<dd><p>return the Interval instance for this axis view limits</p>
</dd></dl>

<dl class="method">
<dt id="matplotlib.axis.YTick.update_position">
<tt class="descname">update_position</tt><big>(</big><em>loc</em><big>)</big><a class="headerlink" href="#matplotlib.axis.YTick.update_position" title="Permalink to this definition">¶</a></dt>
<dd><p>Set the location of tick in data coords with scalar loc</p>
</dd></dl>

</dd></dl>

</div>
</div>


          </div>
        </div>
      </div>
      <div class="clearer"></div>
    </div>
    <div class="related">
      <h3>Navigation</h3>
      <ul>
        <li class="right" style="margin-right: 10px">
          <a href="../genindex.html" title="General Index"
             >index</a></li>
        <li class="right" >
          <a href="../py-modindex.html" title="Python Module Index"
             >modules</a> |</li>
        <li class="right" >
          <a href="index_backend_api.html" title="backends"
             >next</a> |</li>
        <li class="right" >
          <a href="axes_api.html" title="axes"
             >previous</a> |</li>
        <li><a href="../index.html">home</a>|&nbsp;</li>
        <li><a href="../search.html">search</a>|&nbsp;</li>
        <li><a href="../examples/index.html">examples</a>|&nbsp;</li>
        <li><a href="../gallery.html">gallery</a>|&nbsp;</li>
        <li><a href="../contents.html">docs</a> &raquo;</li>

          <li><a href="index.html" >The Matplotlib API</a> &raquo;</li> 
      </ul>
    </div>
    <div class="footer">
        &copy; Copyright 2008, John Hunter, Darren Dale, Michael Droettboom.
      Last updated on Oct 04, 2012.
      Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1.0.7.
    </div>
  </body>
</html>