Sophie

Sophie

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

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>Adding new scales and projections to matplotlib &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 Developers’ Guide" href="index.html" />
    <link rel="next" title="Docs outline" href="outline.html" />
    <link rel="prev" title="Working with transformations" href="transformations.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="outline.html" title="Docs outline"
             accesskey="N">next</a> |</li>
        <li class="right" >
          <a href="transformations.html" title="Working with transformations"
             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 Developers&#8217; Guide</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="#">Adding new scales and projections to matplotlib</a><ul>
<li><a class="reference internal" href="#creating-a-new-scale">Creating a new scale</a></li>
<li><a class="reference internal" href="#creating-a-new-projection">Creating a new projection</a></li>
<li><a class="reference internal" href="#api-documentation">API documentation</a><ul>
<li><a class="reference internal" href="#module-matplotlib.scale">matplotlib.scale</a></li>
<li><a class="reference internal" href="#module-matplotlib.projections">matplotlib.projections</a><ul>
<li><a class="reference internal" href="#module-matplotlib.projections.polar">matplotlib.projections.polar</a></li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
</ul>

  <h4>Previous topic</h4>
  <p class="topless"><a href="transformations.html"
                        title="previous chapter">Working with transformations</a></p>
  <h4>Next topic</h4>
  <p class="topless"><a href="outline.html"
                        title="next chapter">Docs outline</a></p>
  <h3>This Page</h3>
  <ul class="this-page-menu">
    <li><a href="../_sources/devel/add_new_projection.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="adding-new-scales-and-projections-to-matplotlib">
<span id="adding-new-scales"></span><h1>Adding new scales and projections to matplotlib<a class="headerlink" href="#adding-new-scales-and-projections-to-matplotlib" title="Permalink to this headline">¶</a></h1>
<p>Matplotlib supports the addition of custom procedures that transform
the data before it is displayed.</p>
<p>There is an important distinction between two kinds of
transformations.  Separable transformations, working on a single
dimension, are called &#8220;scales&#8221;, and non-separable transformations,
that handle data in two or more dimensions at a time, are called
&#8220;projections&#8221;.</p>
<p>From the user&#8217;s perspective, the scale of a plot can be set with
<a class="reference internal" href="../api/axes_api.html#matplotlib.axes.Axes.set_xscale" title="matplotlib.axes.Axes.set_xscale"><tt class="xref py py-meth docutils literal"><span class="pre">set_xscale()</span></tt></a> and
<a class="reference internal" href="../api/axes_api.html#matplotlib.axes.Axes.set_xscale" title="matplotlib.axes.Axes.set_xscale"><tt class="xref py py-meth docutils literal"><span class="pre">set_xscale()</span></tt></a>.  Projections can be chosen
using the <tt class="docutils literal"><span class="pre">projection</span></tt> keyword argument to the
<tt class="xref py py-func docutils literal"><span class="pre">plot()</span></tt> or <tt class="xref py py-func docutils literal"><span class="pre">subplot()</span></tt>
functions, e.g.:</p>
<div class="highlight-python"><div class="highlight"><pre><span class="n">plot</span><span class="p">(</span><span class="n">x</span><span class="p">,</span> <span class="n">y</span><span class="p">,</span> <span class="n">projection</span><span class="o">=</span><span class="s">&quot;custom&quot;</span><span class="p">)</span>
</pre></div>
</div>
<p>This document is intended for developers and advanced users who need
to create new scales and projections for matplotlib.  The necessary
code for scales and projections can be included anywhere: directly
within a plot script, in third-party code, or in the matplotlib source
tree itself.</p>
<div class="section" id="creating-a-new-scale">
<span id="creating-new-scale"></span><h2>Creating a new scale<a class="headerlink" href="#creating-a-new-scale" title="Permalink to this headline">¶</a></h2>
<p>Adding a new scale consists of defining a subclass of
<a class="reference internal" href="#matplotlib.scale.ScaleBase" title="matplotlib.scale.ScaleBase"><tt class="xref py py-class docutils literal"><span class="pre">matplotlib.scale.ScaleBase</span></tt></a>, that includes the following
elements:</p>
<blockquote>
<div><ul class="simple">
<li>A transformation from data coordinates into display coordinates.</li>
<li>An inverse of that transformation.  This is used, for example, to
convert mouse positions from screen space back into data space.</li>
<li>A function to limit the range of the axis to acceptable values
(<tt class="docutils literal"><span class="pre">limit_range_for_scale()</span></tt>).  A log scale, for instance, would
prevent the range from including values less than or equal to
zero.</li>
<li>Locators (major and minor) that determine where to place ticks in
the plot, and optionally, how to adjust the limits of the plot to
some &#8220;good&#8221; values.  Unlike <tt class="docutils literal"><span class="pre">limit_range_for_scale()</span></tt>, which is
always enforced, the range setting here is only used when
automatically setting the range of the plot.</li>
<li>Formatters (major and minor) that specify how the tick labels
should be drawn.</li>
</ul>
</div></blockquote>
<p>Once the class is defined, it must be registered with matplotlib so
that the user can select it.</p>
<p>A full-fledged and heavily annotated example is in
<tt class="file docutils literal"><span class="pre">examples/api/custom_scale_example.py</span></tt>.  There are also some classes
in <a class="reference internal" href="#module-matplotlib.scale" title="matplotlib.scale"><tt class="xref py py-mod docutils literal"><span class="pre">matplotlib.scale</span></tt></a> that may be used as starting points.</p>
</div>
<div class="section" id="creating-a-new-projection">
<span id="creating-new-projection"></span><h2>Creating a new projection<a class="headerlink" href="#creating-a-new-projection" title="Permalink to this headline">¶</a></h2>
<p>Adding a new projection consists of defining a subclass of
<a class="reference internal" href="../api/axes_api.html#matplotlib.axes.Axes" title="matplotlib.axes.Axes"><tt class="xref py py-class docutils literal"><span class="pre">matplotlib.axes.Axes</span></tt></a>, that includes the following elements:</p>
<blockquote>
<div><ul class="simple">
<li>A transformation from data coordinates into display coordinates.</li>
<li>An inverse of that transformation.  This is used, for example, to
convert mouse positions from screen space back into data space.</li>
<li>Transformations for the gridlines, ticks and ticklabels.  Custom
projections will often need to place these elements in special
locations, and matplotlib has a facility to help with doing so.</li>
<li>Setting up default values (overriding
<a class="reference internal" href="../api/axes_api.html#matplotlib.axes.Axes.cla" title="matplotlib.axes.Axes.cla"><tt class="xref py py-meth docutils literal"><span class="pre">cla()</span></tt></a>), since the defaults for a
rectilinear axes may not be appropriate.</li>
<li>Defining the shape of the axes, for example, an elliptical axes,
that will be used to draw the background of the plot and for
clipping any data elements.</li>
<li>Defining custom locators and formatters for the projection.  For
example, in a geographic projection, it may be more convenient to
display the grid in degrees, even if the data is in radians.</li>
<li>Set up interactive panning and zooming.  This is left as an
&#8220;advanced&#8221; feature left to the reader, but there is an example of
this for polar plots in <a class="reference internal" href="#module-matplotlib.projections.polar" title="matplotlib.projections.polar"><tt class="xref py py-mod docutils literal"><span class="pre">matplotlib.projections.polar</span></tt></a>.</li>
<li>Any additional methods for additional convenience or features.</li>
</ul>
</div></blockquote>
<p>Once the class is defined, it must be registered with matplotlib
so that the user can select it.</p>
<p>A full-fledged and heavily annotated example is in
<tt class="file docutils literal"><span class="pre">examples/api/custom_projection_example.py</span></tt>.  The polar plot
functionality in <a class="reference internal" href="#module-matplotlib.projections.polar" title="matplotlib.projections.polar"><tt class="xref py py-mod docutils literal"><span class="pre">matplotlib.projections.polar</span></tt></a> may also be of
interest.</p>
</div>
<div class="section" id="api-documentation">
<h2>API documentation<a class="headerlink" href="#api-documentation" title="Permalink to this headline">¶</a></h2>
<div class="section" id="module-matplotlib.scale">
<span id="matplotlib-scale"></span><h3>matplotlib.scale<a class="headerlink" href="#module-matplotlib.scale" title="Permalink to this headline">¶</a></h3>
<dl class="class">
<dt id="matplotlib.scale.LinearScale">
<em class="property">class </em><tt class="descclassname">matplotlib.scale.</tt><tt class="descname">LinearScale</tt><big>(</big><em>axis</em>, <em>**kwargs</em><big>)</big><a class="headerlink" href="#matplotlib.scale.LinearScale" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <a class="reference internal" href="#matplotlib.scale.ScaleBase" title="matplotlib.scale.ScaleBase"><tt class="xref py py-class docutils literal"><span class="pre">matplotlib.scale.ScaleBase</span></tt></a></p>
<p>The default linear scale.</p>
<dl class="method">
<dt id="matplotlib.scale.LinearScale.get_transform">
<tt class="descname">get_transform</tt><big>(</big><big>)</big><a class="headerlink" href="#matplotlib.scale.LinearScale.get_transform" title="Permalink to this definition">¶</a></dt>
<dd><p>The transform for linear scaling is just the
<a class="reference internal" href="transformations.html#matplotlib.transforms.IdentityTransform" title="matplotlib.transforms.IdentityTransform"><tt class="xref py py-class docutils literal"><span class="pre">IdentityTransform</span></tt></a>.</p>
</dd></dl>

<dl class="method">
<dt id="matplotlib.scale.LinearScale.set_default_locators_and_formatters">
<tt class="descname">set_default_locators_and_formatters</tt><big>(</big><em>axis</em><big>)</big><a class="headerlink" href="#matplotlib.scale.LinearScale.set_default_locators_and_formatters" title="Permalink to this definition">¶</a></dt>
<dd><p>Set the locators and formatters to reasonable defaults for
linear scaling.</p>
</dd></dl>

</dd></dl>

<dl class="class">
<dt id="matplotlib.scale.LogScale">
<em class="property">class </em><tt class="descclassname">matplotlib.scale.</tt><tt class="descname">LogScale</tt><big>(</big><em>axis</em>, <em>**kwargs</em><big>)</big><a class="headerlink" href="#matplotlib.scale.LogScale" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <a class="reference internal" href="#matplotlib.scale.ScaleBase" title="matplotlib.scale.ScaleBase"><tt class="xref py py-class docutils literal"><span class="pre">matplotlib.scale.ScaleBase</span></tt></a></p>
<p>A standard logarithmic scale.  Care is taken so non-positive
values are not plotted.</p>
<p>For computational efficiency (to push as much as possible to Numpy
C code in the common cases), this scale provides different
transforms depending on the base of the logarithm:</p>
<blockquote>
<div><ul class="simple">
<li>base 10 (<tt class="xref py py-class docutils literal"><span class="pre">Log10Transform</span></tt>)</li>
<li>base 2 (<tt class="xref py py-class docutils literal"><span class="pre">Log2Transform</span></tt>)</li>
<li>base e (<tt class="xref py py-class docutils literal"><span class="pre">NaturalLogTransform</span></tt>)</li>
<li>arbitrary base (<tt class="xref py py-class docutils literal"><span class="pre">LogTransform</span></tt>)</li>
</ul>
</div></blockquote>
<dl class="docutils">
<dt><em>basex</em>/<em>basey</em>:</dt>
<dd>The base of the logarithm</dd>
<dt><em>nonposx</em>/<em>nonposy</em>: [&#8216;mask&#8217; | &#8216;clip&#8217; ]</dt>
<dd>non-positive values in <em>x</em> or <em>y</em> can be masked as
invalid, or clipped to a very small positive number</dd>
<dt><em>subsx</em>/<em>subsy</em>:</dt>
<dd><p class="first">Where to place the subticks between each major tick.
Should be a sequence of integers.  For example, in a log10
scale: <tt class="docutils literal"><span class="pre">[2,</span> <span class="pre">3,</span> <span class="pre">4,</span> <span class="pre">5,</span> <span class="pre">6,</span> <span class="pre">7,</span> <span class="pre">8,</span> <span class="pre">9]</span></tt></p>
<p class="last">will place 8 logarithmically spaced minor ticks between
each major tick.</p>
</dd>
</dl>
<dl class="method">
<dt id="matplotlib.scale.LogScale.get_transform">
<tt class="descname">get_transform</tt><big>(</big><big>)</big><a class="headerlink" href="#matplotlib.scale.LogScale.get_transform" title="Permalink to this definition">¶</a></dt>
<dd><p>Return a <a class="reference internal" href="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
appropriate for the given logarithm base.</p>
</dd></dl>

<dl class="method">
<dt id="matplotlib.scale.LogScale.limit_range_for_scale">
<tt class="descname">limit_range_for_scale</tt><big>(</big><em>vmin</em>, <em>vmax</em>, <em>minpos</em><big>)</big><a class="headerlink" href="#matplotlib.scale.LogScale.limit_range_for_scale" title="Permalink to this definition">¶</a></dt>
<dd><p>Limit the domain to positive values.</p>
</dd></dl>

<dl class="method">
<dt id="matplotlib.scale.LogScale.set_default_locators_and_formatters">
<tt class="descname">set_default_locators_and_formatters</tt><big>(</big><em>axis</em><big>)</big><a class="headerlink" href="#matplotlib.scale.LogScale.set_default_locators_and_formatters" title="Permalink to this definition">¶</a></dt>
<dd><p>Set the locators and formatters to specialized versions for
log scaling.</p>
</dd></dl>

</dd></dl>

<dl class="class">
<dt id="matplotlib.scale.ScaleBase">
<em class="property">class </em><tt class="descclassname">matplotlib.scale.</tt><tt class="descname">ScaleBase</tt><a class="headerlink" href="#matplotlib.scale.ScaleBase" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <tt class="xref py py-class docutils literal"><span class="pre">object</span></tt></p>
<p>The base class for all scales.</p>
<p>Scales are separable transformations, working on a single dimension.</p>
<p>Any subclasses will want to override:</p>
<blockquote>
<div><ul class="simple">
<li><tt class="xref py py-attr docutils literal"><span class="pre">name</span></tt></li>
<li><a class="reference internal" href="#matplotlib.scale.ScaleBase.get_transform" title="matplotlib.scale.ScaleBase.get_transform"><tt class="xref py py-meth docutils literal"><span class="pre">get_transform()</span></tt></a></li>
</ul>
</div></blockquote>
<dl class="docutils">
<dt>And optionally:</dt>
<dd><ul class="first last simple">
<li><a class="reference internal" href="#matplotlib.scale.ScaleBase.set_default_locators_and_formatters" title="matplotlib.scale.ScaleBase.set_default_locators_and_formatters"><tt class="xref py py-meth docutils literal"><span class="pre">set_default_locators_and_formatters()</span></tt></a></li>
<li><a class="reference internal" href="#matplotlib.scale.ScaleBase.limit_range_for_scale" title="matplotlib.scale.ScaleBase.limit_range_for_scale"><tt class="xref py py-meth docutils literal"><span class="pre">limit_range_for_scale()</span></tt></a></li>
</ul>
</dd>
</dl>
<dl class="method">
<dt id="matplotlib.scale.ScaleBase.get_transform">
<tt class="descname">get_transform</tt><big>(</big><big>)</big><a class="headerlink" href="#matplotlib.scale.ScaleBase.get_transform" title="Permalink to this definition">¶</a></dt>
<dd><p>Return the <a class="reference internal" href="transformations.html#matplotlib.transforms.Transform" title="matplotlib.transforms.Transform"><tt class="xref py py-class docutils literal"><span class="pre">Transform</span></tt></a> object
associated with this scale.</p>
</dd></dl>

<dl class="method">
<dt id="matplotlib.scale.ScaleBase.limit_range_for_scale">
<tt class="descname">limit_range_for_scale</tt><big>(</big><em>vmin</em>, <em>vmax</em>, <em>minpos</em><big>)</big><a class="headerlink" href="#matplotlib.scale.ScaleBase.limit_range_for_scale" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns the range <em>vmin</em>, <em>vmax</em>, possibly limited to the
domain supported by this scale.</p>
<dl class="docutils">
<dt><em>minpos</em> should be the minimum positive value in the data.</dt>
<dd>This is used by log scales to determine a minimum value.</dd>
</dl>
</dd></dl>

<dl class="method">
<dt id="matplotlib.scale.ScaleBase.set_default_locators_and_formatters">
<tt class="descname">set_default_locators_and_formatters</tt><big>(</big><em>axis</em><big>)</big><a class="headerlink" href="#matplotlib.scale.ScaleBase.set_default_locators_and_formatters" title="Permalink to this definition">¶</a></dt>
<dd><p>Set the <a class="reference internal" href="../api/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> and
<a class="reference internal" href="../api/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> objects on the given
axis to match this scale.</p>
</dd></dl>

</dd></dl>

<dl class="class">
<dt id="matplotlib.scale.SymmetricalLogScale">
<em class="property">class </em><tt class="descclassname">matplotlib.scale.</tt><tt class="descname">SymmetricalLogScale</tt><big>(</big><em>axis</em>, <em>**kwargs</em><big>)</big><a class="headerlink" href="#matplotlib.scale.SymmetricalLogScale" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <a class="reference internal" href="#matplotlib.scale.ScaleBase" title="matplotlib.scale.ScaleBase"><tt class="xref py py-class docutils literal"><span class="pre">matplotlib.scale.ScaleBase</span></tt></a></p>
<p>The symmetrical logarithmic scale is logarithmic in both the
positive and negative directions from the origin.</p>
<p>Since the values close to zero tend toward infinity, there is a
need to have a range around zero that is linear.  The parameter
<em>linthresh</em> allows the user to specify the size of this range
(-<em>linthresh</em>, <em>linthresh</em>).</p>
<dl class="docutils">
<dt><em>basex</em>/<em>basey</em>:</dt>
<dd>The base of the logarithm</dd>
<dt><em>linthreshx</em>/<em>linthreshy</em>:</dt>
<dd>The range (-<em>x</em>, <em>x</em>) within which the plot is linear (to
avoid having the plot go to infinity around zero).</dd>
<dt><em>subsx</em>/<em>subsy</em>:</dt>
<dd><p class="first">Where to place the subticks between each major tick.
Should be a sequence of integers.  For example, in a log10
scale: <tt class="docutils literal"><span class="pre">[2,</span> <span class="pre">3,</span> <span class="pre">4,</span> <span class="pre">5,</span> <span class="pre">6,</span> <span class="pre">7,</span> <span class="pre">8,</span> <span class="pre">9]</span></tt></p>
<p class="last">will place 8 logarithmically spaced minor ticks between
each major tick.</p>
</dd>
</dl>
<dl class="method">
<dt id="matplotlib.scale.SymmetricalLogScale.get_transform">
<tt class="descname">get_transform</tt><big>(</big><big>)</big><a class="headerlink" href="#matplotlib.scale.SymmetricalLogScale.get_transform" title="Permalink to this definition">¶</a></dt>
<dd><p>Return a <tt class="xref py py-class docutils literal"><span class="pre">SymmetricalLogTransform</span></tt> instance.</p>
</dd></dl>

<dl class="method">
<dt id="matplotlib.scale.SymmetricalLogScale.set_default_locators_and_formatters">
<tt class="descname">set_default_locators_and_formatters</tt><big>(</big><em>axis</em><big>)</big><a class="headerlink" href="#matplotlib.scale.SymmetricalLogScale.set_default_locators_and_formatters" title="Permalink to this definition">¶</a></dt>
<dd><p>Set the locators and formatters to specialized versions for
symmetrical log scaling.</p>
</dd></dl>

</dd></dl>

<dl class="function">
<dt id="matplotlib.scale.get_scale_docs">
<tt class="descclassname">matplotlib.scale.</tt><tt class="descname">get_scale_docs</tt><big>(</big><big>)</big><a class="headerlink" href="#matplotlib.scale.get_scale_docs" title="Permalink to this definition">¶</a></dt>
<dd><p>Helper function for generating docstrings related to scales.</p>
</dd></dl>

<dl class="function">
<dt id="matplotlib.scale.register_scale">
<tt class="descclassname">matplotlib.scale.</tt><tt class="descname">register_scale</tt><big>(</big><em>scale_class</em><big>)</big><a class="headerlink" href="#matplotlib.scale.register_scale" title="Permalink to this definition">¶</a></dt>
<dd><p>Register a new kind of scale.</p>
<p><em>scale_class</em> must be a subclass of <a class="reference internal" href="#matplotlib.scale.ScaleBase" title="matplotlib.scale.ScaleBase"><tt class="xref py py-class docutils literal"><span class="pre">ScaleBase</span></tt></a>.</p>
</dd></dl>

<dl class="function">
<dt id="matplotlib.scale.scale_factory">
<tt class="descclassname">matplotlib.scale.</tt><tt class="descname">scale_factory</tt><big>(</big><em>scale</em>, <em>axis</em>, <em>**kwargs</em><big>)</big><a class="headerlink" href="#matplotlib.scale.scale_factory" title="Permalink to this definition">¶</a></dt>
<dd><p>Return a scale class by name.</p>
<p>ACCEPTS: [ linear | log | symlog ]</p>
</dd></dl>

</div>
<div class="section" id="module-matplotlib.projections">
<span id="matplotlib-projections"></span><h3>matplotlib.projections<a class="headerlink" href="#module-matplotlib.projections" title="Permalink to this headline">¶</a></h3>
<dl class="class">
<dt id="matplotlib.projections.ProjectionRegistry">
<em class="property">class </em><tt class="descclassname">matplotlib.projections.</tt><tt class="descname">ProjectionRegistry</tt><a class="headerlink" href="#matplotlib.projections.ProjectionRegistry" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <tt class="xref py py-class docutils literal"><span class="pre">object</span></tt></p>
<p>Manages the set of projections available to the system.</p>
<dl class="method">
<dt id="matplotlib.projections.ProjectionRegistry.get_projection_class">
<tt class="descname">get_projection_class</tt><big>(</big><em>name</em><big>)</big><a class="headerlink" href="#matplotlib.projections.ProjectionRegistry.get_projection_class" title="Permalink to this definition">¶</a></dt>
<dd><p>Get a projection class from its <em>name</em>.</p>
</dd></dl>

<dl class="method">
<dt id="matplotlib.projections.ProjectionRegistry.get_projection_names">
<tt class="descname">get_projection_names</tt><big>(</big><big>)</big><a class="headerlink" href="#matplotlib.projections.ProjectionRegistry.get_projection_names" title="Permalink to this definition">¶</a></dt>
<dd><p>Get a list of the names of all projections currently
registered.</p>
</dd></dl>

<dl class="method">
<dt id="matplotlib.projections.ProjectionRegistry.register">
<tt class="descname">register</tt><big>(</big><em>*projections</em><big>)</big><a class="headerlink" href="#matplotlib.projections.ProjectionRegistry.register" title="Permalink to this definition">¶</a></dt>
<dd><p>Register a new set of projection(s).</p>
</dd></dl>

</dd></dl>

<dl class="function">
<dt id="matplotlib.projections.get_projection_class">
<tt class="descclassname">matplotlib.projections.</tt><tt class="descname">get_projection_class</tt><big>(</big><em>projection=None</em><big>)</big><a class="headerlink" href="#matplotlib.projections.get_projection_class" title="Permalink to this definition">¶</a></dt>
<dd><p>Get a projection class from its name.</p>
<p>If <em>projection</em> is None, a standard rectilinear projection is
returned.</p>
</dd></dl>

<dl class="function">
<dt id="matplotlib.projections.get_projection_names">
<tt class="descclassname">matplotlib.projections.</tt><tt class="descname">get_projection_names</tt><big>(</big><big>)</big><a class="headerlink" href="#matplotlib.projections.get_projection_names" title="Permalink to this definition">¶</a></dt>
<dd><p>Get a list of acceptable projection names.</p>
</dd></dl>

<dl class="function">
<dt id="matplotlib.projections.projection_factory">
<tt class="descclassname">matplotlib.projections.</tt><tt class="descname">projection_factory</tt><big>(</big><em>projection</em>, <em>figure</em>, <em>rect</em>, <em>**kwargs</em><big>)</big><a class="headerlink" href="#matplotlib.projections.projection_factory" title="Permalink to this definition">¶</a></dt>
<dd><p>Get a new projection instance.</p>
<p><em>projection</em> is a projection name.</p>
<p><em>figure</em> is a figure to add the axes to.</p>
<p><em>rect</em> is a <a class="reference internal" href="transformations.html#matplotlib.transforms.Bbox" title="matplotlib.transforms.Bbox"><tt class="xref py py-class docutils literal"><span class="pre">Bbox</span></tt></a> object specifying
the location of the axes within the figure.</p>
<p>Any other kwargs are passed along to the specific projection
constructor being used.</p>
</dd></dl>

<div class="section" id="module-matplotlib.projections.polar">
<span id="matplotlib-projections-polar"></span><h4>matplotlib.projections.polar<a class="headerlink" href="#module-matplotlib.projections.polar" title="Permalink to this headline">¶</a></h4>
<dl class="class">
<dt id="matplotlib.projections.polar.PolarAxes">
<em class="property">class </em><tt class="descclassname">matplotlib.projections.polar.</tt><tt class="descname">PolarAxes</tt><big>(</big><em>*args</em>, <em>**kwargs</em><big>)</big><a class="headerlink" href="#matplotlib.projections.polar.PolarAxes" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <a class="reference internal" href="../api/axes_api.html#matplotlib.axes.Axes" title="matplotlib.axes.Axes"><tt class="xref py py-class docutils literal"><span class="pre">matplotlib.axes.Axes</span></tt></a></p>
<p>A polar graph projection, where the input dimensions are <em>theta</em>, <em>r</em>.</p>
<p>Theta starts pointing east and goes anti-clockwise.</p>
<dl class="class">
<dt id="matplotlib.projections.polar.PolarAxes.InvertedPolarTransform">
<em class="property">class </em><tt class="descname">InvertedPolarTransform</tt><big>(</big><em>axis=None</em>, <em>use_rmin=True</em><big>)</big><a class="headerlink" href="#matplotlib.projections.polar.PolarAxes.InvertedPolarTransform" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <a class="reference internal" href="transformations.html#matplotlib.transforms.Transform" title="matplotlib.transforms.Transform"><tt class="xref py py-class docutils literal"><span class="pre">matplotlib.transforms.Transform</span></tt></a></p>
<p>The inverse of the polar transform, mapping Cartesian
coordinate space <em>x</em> and <em>y</em> back to <em>theta</em> and <em>r</em>.</p>
<dl class="method">
<dt id="matplotlib.projections.polar.PolarAxes.InvertedPolarTransform.inverted">
<tt class="descname">inverted</tt><big>(</big><big>)</big><a class="headerlink" href="#matplotlib.projections.polar.PolarAxes.InvertedPolarTransform.inverted" title="Permalink to this definition">¶</a></dt>
<dd><p>Return the corresponding inverse transformation.</p>
<p>The return value of this method should be treated as
temporary.  An update to <em>self</em> does not cause a corresponding
update to its inverted copy.</p>
<p><tt class="docutils literal"><span class="pre">x</span> <span class="pre">===</span> <span class="pre">self.inverted().transform(self.transform(x))</span></tt></p>
</dd></dl>

<dl class="method">
<dt id="matplotlib.projections.polar.PolarAxes.InvertedPolarTransform.transform">
<tt class="descname">transform</tt><big>(</big><em>xy</em><big>)</big><a class="headerlink" href="#matplotlib.projections.polar.PolarAxes.InvertedPolarTransform.transform" title="Permalink to this definition">¶</a></dt>
<dd><p>Performs the transformation on the given array of values.</p>
<p>Accepts a numpy array of shape (N x <tt class="xref py py-attr docutils literal"><span class="pre">input_dims</span></tt>) and
returns a numpy array of shape (N x <tt class="xref py py-attr docutils literal"><span class="pre">output_dims</span></tt>).</p>
</dd></dl>

</dd></dl>

<dl class="class">
<dt id="matplotlib.projections.polar.PolarAxes.PolarAffine">
<em class="property">class </em><tt class="descclassname">PolarAxes.</tt><tt class="descname">PolarAffine</tt><big>(</big><em>scale_transform</em>, <em>limits</em><big>)</big><a class="headerlink" href="#matplotlib.projections.polar.PolarAxes.PolarAffine" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <a class="reference internal" href="transformations.html#matplotlib.transforms.Affine2DBase" title="matplotlib.transforms.Affine2DBase"><tt class="xref py py-class docutils literal"><span class="pre">matplotlib.transforms.Affine2DBase</span></tt></a></p>
<p>The affine part of the polar projection.  Scales the output so
that maximum radius rests on the edge of the axes circle.</p>
<p><em>limits</em> is the view limit of the data.  The only part of
its bounds that is used is ymax (for the radius maximum).
The theta range is always fixed to (0, 2pi).</p>
<dl class="method">
<dt id="matplotlib.projections.polar.PolarAxes.PolarAffine.get_matrix">
<tt class="descname">get_matrix</tt><big>(</big><big>)</big><a class="headerlink" href="#matplotlib.projections.polar.PolarAxes.PolarAffine.get_matrix" title="Permalink to this definition">¶</a></dt>
<dd><p>Get the underlying transformation matrix as a numpy array.</p>
</dd></dl>

</dd></dl>

<dl class="class">
<dt id="matplotlib.projections.polar.PolarAxes.PolarTransform">
<em class="property">class </em><tt class="descclassname">PolarAxes.</tt><tt class="descname">PolarTransform</tt><big>(</big><em>axis=None</em>, <em>use_rmin=True</em><big>)</big><a class="headerlink" href="#matplotlib.projections.polar.PolarAxes.PolarTransform" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <a class="reference internal" href="transformations.html#matplotlib.transforms.Transform" title="matplotlib.transforms.Transform"><tt class="xref py py-class docutils literal"><span class="pre">matplotlib.transforms.Transform</span></tt></a></p>
<p>The base polar transform.  This handles projection <em>theta</em> and
<em>r</em> into Cartesian coordinate space <em>x</em> and <em>y</em>, but does not
perform the ultimate affine transformation into the correct
position.</p>
<dl class="method">
<dt id="matplotlib.projections.polar.PolarAxes.PolarTransform.inverted">
<tt class="descname">inverted</tt><big>(</big><big>)</big><a class="headerlink" href="#matplotlib.projections.polar.PolarAxes.PolarTransform.inverted" title="Permalink to this definition">¶</a></dt>
<dd><p>Return the corresponding inverse transformation.</p>
<p>The return value of this method should be treated as
temporary.  An update to <em>self</em> does not cause a corresponding
update to its inverted copy.</p>
<p><tt class="docutils literal"><span class="pre">x</span> <span class="pre">===</span> <span class="pre">self.inverted().transform(self.transform(x))</span></tt></p>
</dd></dl>

<dl class="method">
<dt id="matplotlib.projections.polar.PolarAxes.PolarTransform.transform">
<tt class="descname">transform</tt><big>(</big><em>tr</em><big>)</big><a class="headerlink" href="#matplotlib.projections.polar.PolarAxes.PolarTransform.transform" title="Permalink to this definition">¶</a></dt>
<dd><p>Performs only the non-affine part of the transformation.</p>
<p><tt class="docutils literal"><span class="pre">transform(values)</span></tt> is always equivalent to
<tt class="docutils literal"><span class="pre">transform_affine(transform_non_affine(values))</span></tt>.</p>
<p>In non-affine transformations, this is generally equivalent to
<tt class="docutils literal"><span class="pre">transform(values)</span></tt>.  In affine transformations, this is
always a no-op.</p>
<p>Accepts a numpy array of shape (N x <tt class="xref py py-attr docutils literal"><span class="pre">input_dims</span></tt>) and
returns a numpy array of shape (N x <tt class="xref py py-attr docutils literal"><span class="pre">output_dims</span></tt>).</p>
</dd></dl>

<dl class="method">
<dt id="matplotlib.projections.polar.PolarAxes.PolarTransform.transform_non_affine">
<tt class="descname">transform_non_affine</tt><big>(</big><em>tr</em><big>)</big><a class="headerlink" href="#matplotlib.projections.polar.PolarAxes.PolarTransform.transform_non_affine" title="Permalink to this definition">¶</a></dt>
<dd><p>Performs only the non-affine part of the transformation.</p>
<p><tt class="docutils literal"><span class="pre">transform(values)</span></tt> is always equivalent to
<tt class="docutils literal"><span class="pre">transform_affine(transform_non_affine(values))</span></tt>.</p>
<p>In non-affine transformations, this is generally equivalent to
<tt class="docutils literal"><span class="pre">transform(values)</span></tt>.  In affine transformations, this is
always a no-op.</p>
<p>Accepts a numpy array of shape (N x <tt class="xref py py-attr docutils literal"><span class="pre">input_dims</span></tt>) and
returns a numpy array of shape (N x <tt class="xref py py-attr docutils literal"><span class="pre">output_dims</span></tt>).</p>
</dd></dl>

<dl class="method">
<dt id="matplotlib.projections.polar.PolarAxes.PolarTransform.transform_path">
<tt class="descname">transform_path</tt><big>(</big><em>path</em><big>)</big><a class="headerlink" href="#matplotlib.projections.polar.PolarAxes.PolarTransform.transform_path" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns a copy of path, transformed only by the non-affine
part of this transform.</p>
<p><em>path</em>: a <a class="reference internal" href="../api/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.</p>
<p><tt class="docutils literal"><span class="pre">transform_path(path)</span></tt> is equivalent to
<tt class="docutils literal"><span class="pre">transform_path_affine(transform_path_non_affine(values))</span></tt>.</p>
</dd></dl>

<dl class="method">
<dt id="matplotlib.projections.polar.PolarAxes.PolarTransform.transform_path_non_affine">
<tt class="descname">transform_path_non_affine</tt><big>(</big><em>path</em><big>)</big><a class="headerlink" href="#matplotlib.projections.polar.PolarAxes.PolarTransform.transform_path_non_affine" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns a copy of path, transformed only by the non-affine
part of this transform.</p>
<p><em>path</em>: a <a class="reference internal" href="../api/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.</p>
<p><tt class="docutils literal"><span class="pre">transform_path(path)</span></tt> is equivalent to
<tt class="docutils literal"><span class="pre">transform_path_affine(transform_path_non_affine(values))</span></tt>.</p>
</dd></dl>

</dd></dl>

<dl class="class">
<dt id="matplotlib.projections.polar.PolarAxes.RadialLocator">
<em class="property">class </em><tt class="descclassname">PolarAxes.</tt><tt class="descname">RadialLocator</tt><big>(</big><em>base</em><big>)</big><a class="headerlink" href="#matplotlib.projections.polar.PolarAxes.RadialLocator" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <a class="reference internal" href="../api/ticker_api.html#matplotlib.ticker.Locator" title="matplotlib.ticker.Locator"><tt class="xref py py-class docutils literal"><span class="pre">matplotlib.ticker.Locator</span></tt></a></p>
<p>Used to locate radius ticks.</p>
<p>Ensures that all ticks are strictly positive.  For all other
tasks, it delegates to the base
<a class="reference internal" href="../api/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> (which may be different
depending on the scale of the <em>r</em>-axis.</p>
</dd></dl>

<dl class="class">
<dt id="matplotlib.projections.polar.PolarAxes.ThetaFormatter">
<em class="property">class </em><tt class="descclassname">PolarAxes.</tt><tt class="descname">ThetaFormatter</tt><a class="headerlink" href="#matplotlib.projections.polar.PolarAxes.ThetaFormatter" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <a class="reference internal" href="../api/ticker_api.html#matplotlib.ticker.Formatter" title="matplotlib.ticker.Formatter"><tt class="xref py py-class docutils literal"><span class="pre">matplotlib.ticker.Formatter</span></tt></a></p>
<p>Used to format the <em>theta</em> tick labels.  Converts the native
unit of radians into degrees and adds a degree symbol.</p>
</dd></dl>

<dl class="method">
<dt id="matplotlib.projections.polar.PolarAxes.can_pan">
<tt class="descclassname">PolarAxes.</tt><tt class="descname">can_pan</tt><big>(</big><big>)</big><a class="headerlink" href="#matplotlib.projections.polar.PolarAxes.can_pan" title="Permalink to this definition">¶</a></dt>
<dd><p>Return <em>True</em> if this axes supports the pan/zoom button functionality.</p>
<p>For polar axes, this is slightly misleading. Both panning and
zooming are performed by the same button. Panning is performed
in azimuth while zooming is done along the radial.</p>
</dd></dl>

<dl class="method">
<dt id="matplotlib.projections.polar.PolarAxes.can_zoom">
<tt class="descclassname">PolarAxes.</tt><tt class="descname">can_zoom</tt><big>(</big><big>)</big><a class="headerlink" href="#matplotlib.projections.polar.PolarAxes.can_zoom" title="Permalink to this definition">¶</a></dt>
<dd><p>Return <em>True</em> if this axes supports the zoom box button functionality.</p>
<p>Polar axes do not support zoom boxes.</p>
</dd></dl>

<dl class="method">
<dt id="matplotlib.projections.polar.PolarAxes.format_coord">
<tt class="descclassname">PolarAxes.</tt><tt class="descname">format_coord</tt><big>(</big><em>theta</em>, <em>r</em><big>)</big><a class="headerlink" href="#matplotlib.projections.polar.PolarAxes.format_coord" title="Permalink to this definition">¶</a></dt>
<dd><p>Return a format string formatting the coordinate using Unicode
characters.</p>
</dd></dl>

<dl class="method">
<dt id="matplotlib.projections.polar.PolarAxes.get_data_ratio">
<tt class="descclassname">PolarAxes.</tt><tt class="descname">get_data_ratio</tt><big>(</big><big>)</big><a class="headerlink" href="#matplotlib.projections.polar.PolarAxes.get_data_ratio" title="Permalink to this definition">¶</a></dt>
<dd><p>Return the aspect ratio of the data itself.  For a polar plot,
this should always be 1.0</p>
</dd></dl>

<dl class="method">
<dt id="matplotlib.projections.polar.PolarAxes.get_theta_direction">
<tt class="descclassname">PolarAxes.</tt><tt class="descname">get_theta_direction</tt><big>(</big><big>)</big><a class="headerlink" href="#matplotlib.projections.polar.PolarAxes.get_theta_direction" title="Permalink to this definition">¶</a></dt>
<dd><p>Get the direction in which theta increases.</p>
<dl class="docutils">
<dt>-1:</dt>
<dd>Theta increases in the clockwise direction</dd>
<dt>1:</dt>
<dd>Theta increases in the counterclockwise direction</dd>
</dl>
</dd></dl>

<dl class="method">
<dt id="matplotlib.projections.polar.PolarAxes.get_theta_offset">
<tt class="descclassname">PolarAxes.</tt><tt class="descname">get_theta_offset</tt><big>(</big><big>)</big><a class="headerlink" href="#matplotlib.projections.polar.PolarAxes.get_theta_offset" title="Permalink to this definition">¶</a></dt>
<dd><p>Get the offset for the location of 0 in radians.</p>
</dd></dl>

<dl class="method">
<dt id="matplotlib.projections.polar.PolarAxes.set_rgrids">
<tt class="descclassname">PolarAxes.</tt><tt class="descname">set_rgrids</tt><big>(</big><em>radii</em>, <em>labels=None</em>, <em>angle=None</em>, <em>fmt=None</em>, <em>**kwargs</em><big>)</big><a class="headerlink" href="#matplotlib.projections.polar.PolarAxes.set_rgrids" title="Permalink to this definition">¶</a></dt>
<dd><p>Set the radial locations and labels of the <em>r</em> grids.</p>
<p>The labels will appear at radial distances <em>radii</em> at the
given <em>angle</em> in degrees.</p>
<p><em>labels</em>, if not None, is a <tt class="docutils literal"><span class="pre">len(radii)</span></tt> list of strings of the
labels to use at each radius.</p>
<p>If <em>labels</em> is None, the built-in formatter will be used.</p>
<p>Return value is a list of tuples (<em>line</em>, <em>label</em>), where
<em>line</em> is <a class="reference internal" href="../api/artist_api.html#matplotlib.lines.Line2D" title="matplotlib.lines.Line2D"><tt class="xref py py-class docutils literal"><span class="pre">Line2D</span></tt></a> instances and the
<em>label</em> is <a class="reference internal" href="../api/artist_api.html#matplotlib.text.Text" title="matplotlib.text.Text"><tt class="xref py py-class docutils literal"><span class="pre">Text</span></tt></a> instances.</p>
<p>kwargs are optional text properties for the labels:</p>
<blockquote>
<div><table border="1" class="docutils">
<colgroup>
<col width="29%" />
<col width="71%" />
</colgroup>
<thead valign="bottom">
<tr><th class="head">Property</th>
<th class="head">Description</th>
</tr>
</thead>
<tbody valign="top">
<tr><td><a class="reference internal" href="../api/artist_api.html#matplotlib.artist.Artist.set_agg_filter" title="matplotlib.artist.Artist.set_agg_filter"><tt class="xref py py-meth docutils literal"><span class="pre">agg_filter</span></tt></a></td>
<td>unknown</td>
</tr>
<tr><td><a class="reference internal" href="../api/artist_api.html#matplotlib.artist.Artist.set_alpha" title="matplotlib.artist.Artist.set_alpha"><tt class="xref py py-meth docutils literal"><span class="pre">alpha</span></tt></a></td>
<td>float (0.0 transparent through 1.0 opaque)</td>
</tr>
<tr><td><a class="reference internal" href="../api/artist_api.html#matplotlib.artist.Artist.set_animated" title="matplotlib.artist.Artist.set_animated"><tt class="xref py py-meth docutils literal"><span class="pre">animated</span></tt></a></td>
<td>[True | False]</td>
</tr>
<tr><td><a class="reference internal" href="../api/artist_api.html#matplotlib.artist.Artist.set_axes" title="matplotlib.artist.Artist.set_axes"><tt class="xref py py-meth docutils literal"><span class="pre">axes</span></tt></a></td>
<td>an <a class="reference internal" href="../api/axes_api.html#matplotlib.axes.Axes" title="matplotlib.axes.Axes"><tt class="xref py py-class docutils literal"><span class="pre">Axes</span></tt></a> instance</td>
</tr>
<tr><td><a class="reference internal" href="../api/artist_api.html#matplotlib.text.Text.set_backgroundcolor" title="matplotlib.text.Text.set_backgroundcolor"><tt class="xref py py-meth docutils literal"><span class="pre">backgroundcolor</span></tt></a></td>
<td>any matplotlib color</td>
</tr>
<tr><td><a class="reference internal" href="../api/artist_api.html#matplotlib.text.Text.set_bbox" title="matplotlib.text.Text.set_bbox"><tt class="xref py py-meth docutils literal"><span class="pre">bbox</span></tt></a></td>
<td>rectangle prop dict</td>
</tr>
<tr><td><a class="reference internal" href="../api/artist_api.html#matplotlib.artist.Artist.set_clip_box" title="matplotlib.artist.Artist.set_clip_box"><tt class="xref py py-meth docutils literal"><span class="pre">clip_box</span></tt></a></td>
<td>a <a class="reference internal" href="transformations.html#matplotlib.transforms.Bbox" title="matplotlib.transforms.Bbox"><tt class="xref py py-class docutils literal"><span class="pre">matplotlib.transforms.Bbox</span></tt></a> instance</td>
</tr>
<tr><td><a class="reference internal" href="../api/artist_api.html#matplotlib.artist.Artist.set_clip_on" title="matplotlib.artist.Artist.set_clip_on"><tt class="xref py py-meth docutils literal"><span class="pre">clip_on</span></tt></a></td>
<td>[True | False]</td>
</tr>
<tr><td><a class="reference internal" href="../api/artist_api.html#matplotlib.artist.Artist.set_clip_path" title="matplotlib.artist.Artist.set_clip_path"><tt class="xref py py-meth docutils literal"><span class="pre">clip_path</span></tt></a></td>
<td>[ (<a class="reference internal" href="../api/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="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="../api/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 ]</td>
</tr>
<tr><td><a class="reference internal" href="../api/artist_api.html#matplotlib.text.Text.set_color" title="matplotlib.text.Text.set_color"><tt class="xref py py-meth docutils literal"><span class="pre">color</span></tt></a></td>
<td>any matplotlib color</td>
</tr>
<tr><td><a class="reference internal" href="../api/artist_api.html#matplotlib.artist.Artist.set_contains" title="matplotlib.artist.Artist.set_contains"><tt class="xref py py-meth docutils literal"><span class="pre">contains</span></tt></a></td>
<td>a callable function</td>
</tr>
<tr><td><a class="reference internal" href="../api/artist_api.html#matplotlib.text.Text.set_family" title="matplotlib.text.Text.set_family"><tt class="xref py py-meth docutils literal"><span class="pre">family</span></tt></a> or fontfamily or fontname or name</td>
<td>[ FONTNAME | &#8216;serif&#8217; | &#8216;sans-serif&#8217; | &#8216;cursive&#8217; | &#8216;fantasy&#8217; | &#8216;monospace&#8217; ]</td>
</tr>
<tr><td><a class="reference internal" href="../api/artist_api.html#matplotlib.artist.Artist.set_figure" title="matplotlib.artist.Artist.set_figure"><tt class="xref py py-meth docutils literal"><span class="pre">figure</span></tt></a></td>
<td>a <a class="reference internal" href="../api/figure_api.html#matplotlib.figure.Figure" title="matplotlib.figure.Figure"><tt class="xref py py-class docutils literal"><span class="pre">matplotlib.figure.Figure</span></tt></a> instance</td>
</tr>
<tr><td><a class="reference internal" href="../api/artist_api.html#matplotlib.text.Text.set_fontproperties" title="matplotlib.text.Text.set_fontproperties"><tt class="xref py py-meth docutils literal"><span class="pre">fontproperties</span></tt></a> or font_properties</td>
<td>a <a class="reference internal" href="../api/font_manager_api.html#matplotlib.font_manager.FontProperties" title="matplotlib.font_manager.FontProperties"><tt class="xref py py-class docutils literal"><span class="pre">matplotlib.font_manager.FontProperties</span></tt></a> instance</td>
</tr>
<tr><td><a class="reference internal" href="../api/artist_api.html#matplotlib.artist.Artist.set_gid" title="matplotlib.artist.Artist.set_gid"><tt class="xref py py-meth docutils literal"><span class="pre">gid</span></tt></a></td>
<td>an id string</td>
</tr>
<tr><td><a class="reference internal" href="../api/artist_api.html#matplotlib.text.Text.set_horizontalalignment" title="matplotlib.text.Text.set_horizontalalignment"><tt class="xref py py-meth docutils literal"><span class="pre">horizontalalignment</span></tt></a> or ha</td>
<td>[ &#8216;center&#8217; | &#8216;right&#8217; | &#8216;left&#8217; ]</td>
</tr>
<tr><td><a class="reference internal" href="../api/artist_api.html#matplotlib.artist.Artist.set_label" title="matplotlib.artist.Artist.set_label"><tt class="xref py py-meth docutils literal"><span class="pre">label</span></tt></a></td>
<td>any string</td>
</tr>
<tr><td><a class="reference internal" href="../api/artist_api.html#matplotlib.text.Text.set_linespacing" title="matplotlib.text.Text.set_linespacing"><tt class="xref py py-meth docutils literal"><span class="pre">linespacing</span></tt></a></td>
<td>float (multiple of font size)</td>
</tr>
<tr><td><a class="reference internal" href="../api/artist_api.html#matplotlib.artist.Artist.set_lod" title="matplotlib.artist.Artist.set_lod"><tt class="xref py py-meth docutils literal"><span class="pre">lod</span></tt></a></td>
<td>[True | False]</td>
</tr>
<tr><td><a class="reference internal" href="../api/artist_api.html#matplotlib.text.Text.set_multialignment" title="matplotlib.text.Text.set_multialignment"><tt class="xref py py-meth docutils literal"><span class="pre">multialignment</span></tt></a></td>
<td>[&#8216;left&#8217; | &#8216;right&#8217; | &#8216;center&#8217; ]</td>
</tr>
<tr><td><a class="reference internal" href="../api/artist_api.html#matplotlib.text.Text.set_path_effects" title="matplotlib.text.Text.set_path_effects"><tt class="xref py py-meth docutils literal"><span class="pre">path_effects</span></tt></a></td>
<td>unknown</td>
</tr>
<tr><td><a class="reference internal" href="../api/artist_api.html#matplotlib.artist.Artist.set_picker" title="matplotlib.artist.Artist.set_picker"><tt class="xref py py-meth docutils literal"><span class="pre">picker</span></tt></a></td>
<td>[None|float|boolean|callable]</td>
</tr>
<tr><td><a class="reference internal" href="../api/artist_api.html#matplotlib.text.Text.set_position" title="matplotlib.text.Text.set_position"><tt class="xref py py-meth docutils literal"><span class="pre">position</span></tt></a></td>
<td>(x,y)</td>
</tr>
<tr><td><a class="reference internal" href="../api/artist_api.html#matplotlib.artist.Artist.set_rasterized" title="matplotlib.artist.Artist.set_rasterized"><tt class="xref py py-meth docutils literal"><span class="pre">rasterized</span></tt></a></td>
<td>[True | False | None]</td>
</tr>
<tr><td><a class="reference internal" href="../api/artist_api.html#matplotlib.text.Text.set_rotation" title="matplotlib.text.Text.set_rotation"><tt class="xref py py-meth docutils literal"><span class="pre">rotation</span></tt></a></td>
<td>[ angle in degrees | &#8216;vertical&#8217; | &#8216;horizontal&#8217; ]</td>
</tr>
<tr><td><a class="reference internal" href="../api/artist_api.html#matplotlib.text.Text.set_rotation_mode" title="matplotlib.text.Text.set_rotation_mode"><tt class="xref py py-meth docutils literal"><span class="pre">rotation_mode</span></tt></a></td>
<td>unknown</td>
</tr>
<tr><td><a class="reference internal" href="../api/artist_api.html#matplotlib.text.Text.set_size" title="matplotlib.text.Text.set_size"><tt class="xref py py-meth docutils literal"><span class="pre">size</span></tt></a> or fontsize</td>
<td>[ size in points | &#8216;xx-small&#8217; | &#8216;x-small&#8217; | &#8216;small&#8217; | &#8216;medium&#8217; | &#8216;large&#8217; | &#8216;x-large&#8217; | &#8216;xx-large&#8217; ]</td>
</tr>
<tr><td><a class="reference internal" href="../api/artist_api.html#matplotlib.artist.Artist.set_snap" title="matplotlib.artist.Artist.set_snap"><tt class="xref py py-meth docutils literal"><span class="pre">snap</span></tt></a></td>
<td>unknown</td>
</tr>
<tr><td><a class="reference internal" href="../api/artist_api.html#matplotlib.text.Text.set_stretch" title="matplotlib.text.Text.set_stretch"><tt class="xref py py-meth docutils literal"><span class="pre">stretch</span></tt></a> or fontstretch</td>
<td>[ a numeric value in range 0-1000 | &#8216;ultra-condensed&#8217; | &#8216;extra-condensed&#8217; | &#8216;condensed&#8217; | &#8216;semi-condensed&#8217; | &#8216;normal&#8217; | &#8216;semi-expanded&#8217; | &#8216;expanded&#8217; | &#8216;extra-expanded&#8217; | &#8216;ultra-expanded&#8217; ]</td>
</tr>
<tr><td><a class="reference internal" href="../api/artist_api.html#matplotlib.text.Text.set_style" title="matplotlib.text.Text.set_style"><tt class="xref py py-meth docutils literal"><span class="pre">style</span></tt></a> or fontstyle</td>
<td>[ &#8216;normal&#8217; | &#8216;italic&#8217; | &#8216;oblique&#8217;]</td>
</tr>
<tr><td><a class="reference internal" href="../api/artist_api.html#matplotlib.text.Text.set_text" title="matplotlib.text.Text.set_text"><tt class="xref py py-meth docutils literal"><span class="pre">text</span></tt></a></td>
<td>string or anything printable with &#8216;%s&#8217; conversion.</td>
</tr>
<tr><td><a class="reference internal" href="../api/artist_api.html#matplotlib.artist.Artist.set_transform" title="matplotlib.artist.Artist.set_transform"><tt class="xref py py-meth docutils literal"><span class="pre">transform</span></tt></a></td>
<td><a class="reference internal" href="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</td>
</tr>
<tr><td><a class="reference internal" href="../api/artist_api.html#matplotlib.artist.Artist.set_url" title="matplotlib.artist.Artist.set_url"><tt class="xref py py-meth docutils literal"><span class="pre">url</span></tt></a></td>
<td>a url string</td>
</tr>
<tr><td><a class="reference internal" href="../api/artist_api.html#matplotlib.text.Text.set_variant" title="matplotlib.text.Text.set_variant"><tt class="xref py py-meth docutils literal"><span class="pre">variant</span></tt></a> or fontvariant</td>
<td>[ &#8216;normal&#8217; | &#8216;small-caps&#8217; ]</td>
</tr>
<tr><td><a class="reference internal" href="../api/artist_api.html#matplotlib.text.Text.set_verticalalignment" title="matplotlib.text.Text.set_verticalalignment"><tt class="xref py py-meth docutils literal"><span class="pre">verticalalignment</span></tt></a> or va or ma</td>
<td>[ &#8216;center&#8217; | &#8216;top&#8217; | &#8216;bottom&#8217; | &#8216;baseline&#8217; ]</td>
</tr>
<tr><td><a class="reference internal" href="../api/artist_api.html#matplotlib.artist.Artist.set_visible" title="matplotlib.artist.Artist.set_visible"><tt class="xref py py-meth docutils literal"><span class="pre">visible</span></tt></a></td>
<td>[True | False]</td>
</tr>
<tr><td><a class="reference internal" href="../api/artist_api.html#matplotlib.text.Text.set_weight" title="matplotlib.text.Text.set_weight"><tt class="xref py py-meth docutils literal"><span class="pre">weight</span></tt></a> or fontweight</td>
<td>[ a numeric value in range 0-1000 | &#8216;ultralight&#8217; | &#8216;light&#8217; | &#8216;normal&#8217; | &#8216;regular&#8217; | &#8216;book&#8217; | &#8216;medium&#8217; | &#8216;roman&#8217; | &#8216;semibold&#8217; | &#8216;demibold&#8217; | &#8216;demi&#8217; | &#8216;bold&#8217; | &#8216;heavy&#8217; | &#8216;extra bold&#8217; | &#8216;black&#8217; ]</td>
</tr>
<tr><td><a class="reference internal" href="../api/artist_api.html#matplotlib.text.Text.set_x" title="matplotlib.text.Text.set_x"><tt class="xref py py-meth docutils literal"><span class="pre">x</span></tt></a></td>
<td>float</td>
</tr>
<tr><td><a class="reference internal" href="../api/artist_api.html#matplotlib.text.Text.set_y" title="matplotlib.text.Text.set_y"><tt class="xref py py-meth docutils literal"><span class="pre">y</span></tt></a></td>
<td>float</td>
</tr>
<tr><td><a class="reference internal" href="../api/artist_api.html#matplotlib.artist.Artist.set_zorder" title="matplotlib.artist.Artist.set_zorder"><tt class="xref py py-meth docutils literal"><span class="pre">zorder</span></tt></a></td>
<td>any number</td>
</tr>
</tbody>
</table>
</div></blockquote>
<p>ACCEPTS: sequence of floats</p>
</dd></dl>

<dl class="method">
<dt id="matplotlib.projections.polar.PolarAxes.set_rscale">
<tt class="descclassname">PolarAxes.</tt><tt class="descname">set_rscale</tt><big>(</big><em>value</em>, <em>**kwargs</em><big>)</big><a class="headerlink" href="#matplotlib.projections.polar.PolarAxes.set_rscale" title="Permalink to this definition">¶</a></dt>
<dd><p>Call signature:</p>
<div class="highlight-python"><div class="highlight"><pre><span class="n">set_yscale</span><span class="p">(</span><span class="n">value</span><span class="p">)</span>
</pre></div>
</div>
<p>Set the scaling of the y-axis: &#8216;linear&#8217; | &#8216;log&#8217; | &#8216;symlog&#8217;</p>
<p>ACCEPTS: [&#8216;linear&#8217; | &#8216;log&#8217; | &#8216;symlog&#8217;]</p>
<p>Different kwargs are accepted, depending on the scale:
&#8216;linear&#8217;</p>
<blockquote>
<div><p>&#8216;log&#8217;</p>
<blockquote>
<div><dl class="docutils">
<dt><em>basex</em>/<em>basey</em>:</dt>
<dd>The base of the logarithm</dd>
<dt><em>nonposx</em>/<em>nonposy</em>: [&#8216;mask&#8217; | &#8216;clip&#8217; ]</dt>
<dd>non-positive values in <em>x</em> or <em>y</em> can be masked as
invalid, or clipped to a very small positive number</dd>
<dt><em>subsx</em>/<em>subsy</em>:</dt>
<dd><p class="first">Where to place the subticks between each major tick.
Should be a sequence of integers.  For example, in a log10
scale: <tt class="docutils literal"><span class="pre">[2,</span> <span class="pre">3,</span> <span class="pre">4,</span> <span class="pre">5,</span> <span class="pre">6,</span> <span class="pre">7,</span> <span class="pre">8,</span> <span class="pre">9]</span></tt></p>
<p class="last">will place 8 logarithmically spaced minor ticks between
each major tick.</p>
</dd>
</dl>
</div></blockquote>
<p>&#8216;symlog&#8217;</p>
<blockquote>
<div><dl class="docutils">
<dt><em>basex</em>/<em>basey</em>:</dt>
<dd>The base of the logarithm</dd>
<dt><em>linthreshx</em>/<em>linthreshy</em>:</dt>
<dd>The range (-<em>x</em>, <em>x</em>) within which the plot is linear (to
avoid having the plot go to infinity around zero).</dd>
<dt><em>subsx</em>/<em>subsy</em>:</dt>
<dd><p class="first">Where to place the subticks between each major tick.
Should be a sequence of integers.  For example, in a log10
scale: <tt class="docutils literal"><span class="pre">[2,</span> <span class="pre">3,</span> <span class="pre">4,</span> <span class="pre">5,</span> <span class="pre">6,</span> <span class="pre">7,</span> <span class="pre">8,</span> <span class="pre">9]</span></tt></p>
<p class="last">will place 8 logarithmically spaced minor ticks between
each major tick.</p>
</dd>
</dl>
</div></blockquote>
</div></blockquote>
</dd></dl>

<dl class="method">
<dt id="matplotlib.projections.polar.PolarAxes.set_rticks">
<tt class="descclassname">PolarAxes.</tt><tt class="descname">set_rticks</tt><big>(</big><em>ticks</em>, <em>minor=False</em><big>)</big><a class="headerlink" href="#matplotlib.projections.polar.PolarAxes.set_rticks" title="Permalink to this definition">¶</a></dt>
<dd><p>Set the y ticks with list of <em>ticks</em></p>
<p>ACCEPTS: sequence of floats</p>
<p>Keyword arguments:</p>
<blockquote>
<div><dl class="docutils">
<dt><em>minor</em>: [ <em>False</em> | <em>True</em> ]</dt>
<dd>Sets the minor ticks if <em>True</em></dd>
</dl>
</div></blockquote>
</dd></dl>

<dl class="method">
<dt id="matplotlib.projections.polar.PolarAxes.set_theta_direction">
<tt class="descclassname">PolarAxes.</tt><tt class="descname">set_theta_direction</tt><big>(</big><em>direction</em><big>)</big><a class="headerlink" href="#matplotlib.projections.polar.PolarAxes.set_theta_direction" title="Permalink to this definition">¶</a></dt>
<dd><p>Set the direction in which theta increases.</p>
<dl class="docutils">
<dt>clockwise, -1:</dt>
<dd>Theta increases in the clockwise direction</dd>
<dt>counterclockwise, anticlockwise, 1:</dt>
<dd>Theta increases in the counterclockwise direction</dd>
</dl>
</dd></dl>

<dl class="method">
<dt id="matplotlib.projections.polar.PolarAxes.set_theta_offset">
<tt class="descclassname">PolarAxes.</tt><tt class="descname">set_theta_offset</tt><big>(</big><em>offset</em><big>)</big><a class="headerlink" href="#matplotlib.projections.polar.PolarAxes.set_theta_offset" title="Permalink to this definition">¶</a></dt>
<dd><p>Set the offset for the location of 0 in radians.</p>
</dd></dl>

<dl class="method">
<dt id="matplotlib.projections.polar.PolarAxes.set_theta_zero_location">
<tt class="descclassname">PolarAxes.</tt><tt class="descname">set_theta_zero_location</tt><big>(</big><em>loc</em><big>)</big><a class="headerlink" href="#matplotlib.projections.polar.PolarAxes.set_theta_zero_location" title="Permalink to this definition">¶</a></dt>
<dd><p>Sets the location of theta&#8217;s zero.  (Calls set_theta_offset
with the correct value in radians under the hood.)</p>
<p>May be one of &#8220;N&#8221;, &#8220;NW&#8221;, &#8220;W&#8221;, &#8220;SW&#8221;, &#8220;S&#8221;, &#8220;SE&#8221;, &#8220;E&#8221;, or &#8220;NE&#8221;.</p>
</dd></dl>

<dl class="method">
<dt id="matplotlib.projections.polar.PolarAxes.set_thetagrids">
<tt class="descclassname">PolarAxes.</tt><tt class="descname">set_thetagrids</tt><big>(</big><em>angles</em>, <em>labels=None</em>, <em>frac=None</em>, <em>fmt=None</em>, <em>**kwargs</em><big>)</big><a class="headerlink" href="#matplotlib.projections.polar.PolarAxes.set_thetagrids" title="Permalink to this definition">¶</a></dt>
<dd><p>Set the angles at which to place the theta grids (these
gridlines are equal along the theta dimension).  <em>angles</em> is in
degrees.</p>
<p><em>labels</em>, if not None, is a <tt class="docutils literal"><span class="pre">len(angles)</span></tt> list of strings of
the labels to use at each angle.</p>
<p>If <em>labels</em> is None, the labels will be <tt class="docutils literal"><span class="pre">fmt</span> <span class="pre">%</span> <span class="pre">angle</span></tt></p>
<p><em>frac</em> is the fraction of the polar axes radius at which to
place the label (1 is the edge). Eg. 1.05 is outside the axes
and 0.95 is inside the axes.</p>
<p>Return value is a list of tuples (<em>line</em>, <em>label</em>), where
<em>line</em> is <a class="reference internal" href="../api/artist_api.html#matplotlib.lines.Line2D" title="matplotlib.lines.Line2D"><tt class="xref py py-class docutils literal"><span class="pre">Line2D</span></tt></a> instances and the
<em>label</em> is <a class="reference internal" href="../api/artist_api.html#matplotlib.text.Text" title="matplotlib.text.Text"><tt class="xref py py-class docutils literal"><span class="pre">Text</span></tt></a> instances.</p>
<p>kwargs are optional text properties for the labels:</p>
<blockquote>
<div><table border="1" class="docutils">
<colgroup>
<col width="29%" />
<col width="71%" />
</colgroup>
<thead valign="bottom">
<tr><th class="head">Property</th>
<th class="head">Description</th>
</tr>
</thead>
<tbody valign="top">
<tr><td><a class="reference internal" href="../api/artist_api.html#matplotlib.artist.Artist.set_agg_filter" title="matplotlib.artist.Artist.set_agg_filter"><tt class="xref py py-meth docutils literal"><span class="pre">agg_filter</span></tt></a></td>
<td>unknown</td>
</tr>
<tr><td><a class="reference internal" href="../api/artist_api.html#matplotlib.artist.Artist.set_alpha" title="matplotlib.artist.Artist.set_alpha"><tt class="xref py py-meth docutils literal"><span class="pre">alpha</span></tt></a></td>
<td>float (0.0 transparent through 1.0 opaque)</td>
</tr>
<tr><td><a class="reference internal" href="../api/artist_api.html#matplotlib.artist.Artist.set_animated" title="matplotlib.artist.Artist.set_animated"><tt class="xref py py-meth docutils literal"><span class="pre">animated</span></tt></a></td>
<td>[True | False]</td>
</tr>
<tr><td><a class="reference internal" href="../api/artist_api.html#matplotlib.artist.Artist.set_axes" title="matplotlib.artist.Artist.set_axes"><tt class="xref py py-meth docutils literal"><span class="pre">axes</span></tt></a></td>
<td>an <a class="reference internal" href="../api/axes_api.html#matplotlib.axes.Axes" title="matplotlib.axes.Axes"><tt class="xref py py-class docutils literal"><span class="pre">Axes</span></tt></a> instance</td>
</tr>
<tr><td><a class="reference internal" href="../api/artist_api.html#matplotlib.text.Text.set_backgroundcolor" title="matplotlib.text.Text.set_backgroundcolor"><tt class="xref py py-meth docutils literal"><span class="pre">backgroundcolor</span></tt></a></td>
<td>any matplotlib color</td>
</tr>
<tr><td><a class="reference internal" href="../api/artist_api.html#matplotlib.text.Text.set_bbox" title="matplotlib.text.Text.set_bbox"><tt class="xref py py-meth docutils literal"><span class="pre">bbox</span></tt></a></td>
<td>rectangle prop dict</td>
</tr>
<tr><td><a class="reference internal" href="../api/artist_api.html#matplotlib.artist.Artist.set_clip_box" title="matplotlib.artist.Artist.set_clip_box"><tt class="xref py py-meth docutils literal"><span class="pre">clip_box</span></tt></a></td>
<td>a <a class="reference internal" href="transformations.html#matplotlib.transforms.Bbox" title="matplotlib.transforms.Bbox"><tt class="xref py py-class docutils literal"><span class="pre">matplotlib.transforms.Bbox</span></tt></a> instance</td>
</tr>
<tr><td><a class="reference internal" href="../api/artist_api.html#matplotlib.artist.Artist.set_clip_on" title="matplotlib.artist.Artist.set_clip_on"><tt class="xref py py-meth docutils literal"><span class="pre">clip_on</span></tt></a></td>
<td>[True | False]</td>
</tr>
<tr><td><a class="reference internal" href="../api/artist_api.html#matplotlib.artist.Artist.set_clip_path" title="matplotlib.artist.Artist.set_clip_path"><tt class="xref py py-meth docutils literal"><span class="pre">clip_path</span></tt></a></td>
<td>[ (<a class="reference internal" href="../api/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="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="../api/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 ]</td>
</tr>
<tr><td><a class="reference internal" href="../api/artist_api.html#matplotlib.text.Text.set_color" title="matplotlib.text.Text.set_color"><tt class="xref py py-meth docutils literal"><span class="pre">color</span></tt></a></td>
<td>any matplotlib color</td>
</tr>
<tr><td><a class="reference internal" href="../api/artist_api.html#matplotlib.artist.Artist.set_contains" title="matplotlib.artist.Artist.set_contains"><tt class="xref py py-meth docutils literal"><span class="pre">contains</span></tt></a></td>
<td>a callable function</td>
</tr>
<tr><td><a class="reference internal" href="../api/artist_api.html#matplotlib.text.Text.set_family" title="matplotlib.text.Text.set_family"><tt class="xref py py-meth docutils literal"><span class="pre">family</span></tt></a> or fontfamily or fontname or name</td>
<td>[ FONTNAME | &#8216;serif&#8217; | &#8216;sans-serif&#8217; | &#8216;cursive&#8217; | &#8216;fantasy&#8217; | &#8216;monospace&#8217; ]</td>
</tr>
<tr><td><a class="reference internal" href="../api/artist_api.html#matplotlib.artist.Artist.set_figure" title="matplotlib.artist.Artist.set_figure"><tt class="xref py py-meth docutils literal"><span class="pre">figure</span></tt></a></td>
<td>a <a class="reference internal" href="../api/figure_api.html#matplotlib.figure.Figure" title="matplotlib.figure.Figure"><tt class="xref py py-class docutils literal"><span class="pre">matplotlib.figure.Figure</span></tt></a> instance</td>
</tr>
<tr><td><a class="reference internal" href="../api/artist_api.html#matplotlib.text.Text.set_fontproperties" title="matplotlib.text.Text.set_fontproperties"><tt class="xref py py-meth docutils literal"><span class="pre">fontproperties</span></tt></a> or font_properties</td>
<td>a <a class="reference internal" href="../api/font_manager_api.html#matplotlib.font_manager.FontProperties" title="matplotlib.font_manager.FontProperties"><tt class="xref py py-class docutils literal"><span class="pre">matplotlib.font_manager.FontProperties</span></tt></a> instance</td>
</tr>
<tr><td><a class="reference internal" href="../api/artist_api.html#matplotlib.artist.Artist.set_gid" title="matplotlib.artist.Artist.set_gid"><tt class="xref py py-meth docutils literal"><span class="pre">gid</span></tt></a></td>
<td>an id string</td>
</tr>
<tr><td><a class="reference internal" href="../api/artist_api.html#matplotlib.text.Text.set_horizontalalignment" title="matplotlib.text.Text.set_horizontalalignment"><tt class="xref py py-meth docutils literal"><span class="pre">horizontalalignment</span></tt></a> or ha</td>
<td>[ &#8216;center&#8217; | &#8216;right&#8217; | &#8216;left&#8217; ]</td>
</tr>
<tr><td><a class="reference internal" href="../api/artist_api.html#matplotlib.artist.Artist.set_label" title="matplotlib.artist.Artist.set_label"><tt class="xref py py-meth docutils literal"><span class="pre">label</span></tt></a></td>
<td>any string</td>
</tr>
<tr><td><a class="reference internal" href="../api/artist_api.html#matplotlib.text.Text.set_linespacing" title="matplotlib.text.Text.set_linespacing"><tt class="xref py py-meth docutils literal"><span class="pre">linespacing</span></tt></a></td>
<td>float (multiple of font size)</td>
</tr>
<tr><td><a class="reference internal" href="../api/artist_api.html#matplotlib.artist.Artist.set_lod" title="matplotlib.artist.Artist.set_lod"><tt class="xref py py-meth docutils literal"><span class="pre">lod</span></tt></a></td>
<td>[True | False]</td>
</tr>
<tr><td><a class="reference internal" href="../api/artist_api.html#matplotlib.text.Text.set_multialignment" title="matplotlib.text.Text.set_multialignment"><tt class="xref py py-meth docutils literal"><span class="pre">multialignment</span></tt></a></td>
<td>[&#8216;left&#8217; | &#8216;right&#8217; | &#8216;center&#8217; ]</td>
</tr>
<tr><td><a class="reference internal" href="../api/artist_api.html#matplotlib.text.Text.set_path_effects" title="matplotlib.text.Text.set_path_effects"><tt class="xref py py-meth docutils literal"><span class="pre">path_effects</span></tt></a></td>
<td>unknown</td>
</tr>
<tr><td><a class="reference internal" href="../api/artist_api.html#matplotlib.artist.Artist.set_picker" title="matplotlib.artist.Artist.set_picker"><tt class="xref py py-meth docutils literal"><span class="pre">picker</span></tt></a></td>
<td>[None|float|boolean|callable]</td>
</tr>
<tr><td><a class="reference internal" href="../api/artist_api.html#matplotlib.text.Text.set_position" title="matplotlib.text.Text.set_position"><tt class="xref py py-meth docutils literal"><span class="pre">position</span></tt></a></td>
<td>(x,y)</td>
</tr>
<tr><td><a class="reference internal" href="../api/artist_api.html#matplotlib.artist.Artist.set_rasterized" title="matplotlib.artist.Artist.set_rasterized"><tt class="xref py py-meth docutils literal"><span class="pre">rasterized</span></tt></a></td>
<td>[True | False | None]</td>
</tr>
<tr><td><a class="reference internal" href="../api/artist_api.html#matplotlib.text.Text.set_rotation" title="matplotlib.text.Text.set_rotation"><tt class="xref py py-meth docutils literal"><span class="pre">rotation</span></tt></a></td>
<td>[ angle in degrees | &#8216;vertical&#8217; | &#8216;horizontal&#8217; ]</td>
</tr>
<tr><td><a class="reference internal" href="../api/artist_api.html#matplotlib.text.Text.set_rotation_mode" title="matplotlib.text.Text.set_rotation_mode"><tt class="xref py py-meth docutils literal"><span class="pre">rotation_mode</span></tt></a></td>
<td>unknown</td>
</tr>
<tr><td><a class="reference internal" href="../api/artist_api.html#matplotlib.text.Text.set_size" title="matplotlib.text.Text.set_size"><tt class="xref py py-meth docutils literal"><span class="pre">size</span></tt></a> or fontsize</td>
<td>[ size in points | &#8216;xx-small&#8217; | &#8216;x-small&#8217; | &#8216;small&#8217; | &#8216;medium&#8217; | &#8216;large&#8217; | &#8216;x-large&#8217; | &#8216;xx-large&#8217; ]</td>
</tr>
<tr><td><a class="reference internal" href="../api/artist_api.html#matplotlib.artist.Artist.set_snap" title="matplotlib.artist.Artist.set_snap"><tt class="xref py py-meth docutils literal"><span class="pre">snap</span></tt></a></td>
<td>unknown</td>
</tr>
<tr><td><a class="reference internal" href="../api/artist_api.html#matplotlib.text.Text.set_stretch" title="matplotlib.text.Text.set_stretch"><tt class="xref py py-meth docutils literal"><span class="pre">stretch</span></tt></a> or fontstretch</td>
<td>[ a numeric value in range 0-1000 | &#8216;ultra-condensed&#8217; | &#8216;extra-condensed&#8217; | &#8216;condensed&#8217; | &#8216;semi-condensed&#8217; | &#8216;normal&#8217; | &#8216;semi-expanded&#8217; | &#8216;expanded&#8217; | &#8216;extra-expanded&#8217; | &#8216;ultra-expanded&#8217; ]</td>
</tr>
<tr><td><a class="reference internal" href="../api/artist_api.html#matplotlib.text.Text.set_style" title="matplotlib.text.Text.set_style"><tt class="xref py py-meth docutils literal"><span class="pre">style</span></tt></a> or fontstyle</td>
<td>[ &#8216;normal&#8217; | &#8216;italic&#8217; | &#8216;oblique&#8217;]</td>
</tr>
<tr><td><a class="reference internal" href="../api/artist_api.html#matplotlib.text.Text.set_text" title="matplotlib.text.Text.set_text"><tt class="xref py py-meth docutils literal"><span class="pre">text</span></tt></a></td>
<td>string or anything printable with &#8216;%s&#8217; conversion.</td>
</tr>
<tr><td><a class="reference internal" href="../api/artist_api.html#matplotlib.artist.Artist.set_transform" title="matplotlib.artist.Artist.set_transform"><tt class="xref py py-meth docutils literal"><span class="pre">transform</span></tt></a></td>
<td><a class="reference internal" href="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</td>
</tr>
<tr><td><a class="reference internal" href="../api/artist_api.html#matplotlib.artist.Artist.set_url" title="matplotlib.artist.Artist.set_url"><tt class="xref py py-meth docutils literal"><span class="pre">url</span></tt></a></td>
<td>a url string</td>
</tr>
<tr><td><a class="reference internal" href="../api/artist_api.html#matplotlib.text.Text.set_variant" title="matplotlib.text.Text.set_variant"><tt class="xref py py-meth docutils literal"><span class="pre">variant</span></tt></a> or fontvariant</td>
<td>[ &#8216;normal&#8217; | &#8216;small-caps&#8217; ]</td>
</tr>
<tr><td><a class="reference internal" href="../api/artist_api.html#matplotlib.text.Text.set_verticalalignment" title="matplotlib.text.Text.set_verticalalignment"><tt class="xref py py-meth docutils literal"><span class="pre">verticalalignment</span></tt></a> or va or ma</td>
<td>[ &#8216;center&#8217; | &#8216;top&#8217; | &#8216;bottom&#8217; | &#8216;baseline&#8217; ]</td>
</tr>
<tr><td><a class="reference internal" href="../api/artist_api.html#matplotlib.artist.Artist.set_visible" title="matplotlib.artist.Artist.set_visible"><tt class="xref py py-meth docutils literal"><span class="pre">visible</span></tt></a></td>
<td>[True | False]</td>
</tr>
<tr><td><a class="reference internal" href="../api/artist_api.html#matplotlib.text.Text.set_weight" title="matplotlib.text.Text.set_weight"><tt class="xref py py-meth docutils literal"><span class="pre">weight</span></tt></a> or fontweight</td>
<td>[ a numeric value in range 0-1000 | &#8216;ultralight&#8217; | &#8216;light&#8217; | &#8216;normal&#8217; | &#8216;regular&#8217; | &#8216;book&#8217; | &#8216;medium&#8217; | &#8216;roman&#8217; | &#8216;semibold&#8217; | &#8216;demibold&#8217; | &#8216;demi&#8217; | &#8216;bold&#8217; | &#8216;heavy&#8217; | &#8216;extra bold&#8217; | &#8216;black&#8217; ]</td>
</tr>
<tr><td><a class="reference internal" href="../api/artist_api.html#matplotlib.text.Text.set_x" title="matplotlib.text.Text.set_x"><tt class="xref py py-meth docutils literal"><span class="pre">x</span></tt></a></td>
<td>float</td>
</tr>
<tr><td><a class="reference internal" href="../api/artist_api.html#matplotlib.text.Text.set_y" title="matplotlib.text.Text.set_y"><tt class="xref py py-meth docutils literal"><span class="pre">y</span></tt></a></td>
<td>float</td>
</tr>
<tr><td><a class="reference internal" href="../api/artist_api.html#matplotlib.artist.Artist.set_zorder" title="matplotlib.artist.Artist.set_zorder"><tt class="xref py py-meth docutils literal"><span class="pre">zorder</span></tt></a></td>
<td>any number</td>
</tr>
</tbody>
</table>
</div></blockquote>
<p>ACCEPTS: sequence of floats</p>
</dd></dl>

</dd></dl>

</div>
</div>
</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="outline.html" title="Docs outline"
             >next</a> |</li>
        <li class="right" >
          <a href="transformations.html" title="Working with transformations"
             >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 Developers&#8217; Guide</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>