You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.
Dismiss alert
<divid="unreleased-message"> You are reading an old version of the documentation (v2.2.5). For the latest version see <ahref="https://matplotlib.org/stable/api/scale_api.html">https://matplotlib.org/stable/api/scale_api.html</a></div>
<h1>scale<aclass="headerlink" href="#scale" title="Permalink to this headline">¶</a></h1>
<divclass="section" id="module-matplotlib.scale">
<spanid="matplotlib-scale"></span><h2><aclass="reference internal" href="#module-matplotlib.scale" title="matplotlib.scale"><codeclass="xref py py-mod docutils literal notranslate"><spanclass="pre">matplotlib.scale</span></code></a><aclass="headerlink" href="#module-matplotlib.scale" title="Permalink to this headline">¶</a></h2>
<dlclass="class">
<dtid="matplotlib.scale.InvertedLog10Transform">
<emclass="property">class </em><codeclass="descclassname">matplotlib.scale.</code><codeclass="descname">InvertedLog10Transform</code><spanclass="sig-paren">(</span><em>shorthand_name=None</em><spanclass="sig-paren">)</span><aclass="reference internal" href="../_modules/matplotlib/scale.html#InvertedLog10Transform"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink" href="#matplotlib.scale.InvertedLog10Transform" title="Permalink to this definition">¶</a></dt>
<codeclass="descname">base</code><emclass="property"> = 10.0</em><aclass="headerlink" href="#matplotlib.scale.InvertedLog10Transform.base" title="Permalink to this definition">¶</a></dt>
<codeclass="descname">inverted</code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="reference internal" href="../_modules/matplotlib/scale.html#InvertedLog10Transform.inverted"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink" href="#matplotlib.scale.InvertedLog10Transform.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
<emclass="property">class </em><codeclass="descclassname">matplotlib.scale.</code><codeclass="descname">InvertedLog2Transform</code><spanclass="sig-paren">(</span><em>shorthand_name=None</em><spanclass="sig-paren">)</span><aclass="reference internal" href="../_modules/matplotlib/scale.html#InvertedLog2Transform"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink" href="#matplotlib.scale.InvertedLog2Transform" title="Permalink to this definition">¶</a></dt>
<codeclass="descname">base</code><emclass="property"> = 2.0</em><aclass="headerlink" href="#matplotlib.scale.InvertedLog2Transform.base" title="Permalink to this definition">¶</a></dt>
<codeclass="descname">inverted</code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="reference internal" href="../_modules/matplotlib/scale.html#InvertedLog2Transform.inverted"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink" href="#matplotlib.scale.InvertedLog2Transform.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
<emclass="property">class </em><codeclass="descclassname">matplotlib.scale.</code><codeclass="descname">InvertedLogTransform</code><spanclass="sig-paren">(</span><em>base</em><spanclass="sig-paren">)</span><aclass="reference internal" href="../_modules/matplotlib/scale.html#InvertedLogTransform"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink" href="#matplotlib.scale.InvertedLogTransform" title="Permalink to this definition">¶</a></dt>
<codeclass="descname">inverted</code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="reference internal" href="../_modules/matplotlib/scale.html#InvertedLogTransform.inverted"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink" href="#matplotlib.scale.InvertedLogTransform.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
<emclass="property">class </em><codeclass="descclassname">matplotlib.scale.</code><codeclass="descname">InvertedLogTransformBase</code><spanclass="sig-paren">(</span><em>shorthand_name=None</em><spanclass="sig-paren">)</span><aclass="reference internal" href="../_modules/matplotlib/scale.html#InvertedLogTransformBase"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink" href="#matplotlib.scale.InvertedLogTransformBase" title="Permalink to this definition">¶</a></dt>
<codeclass="descname">has_inverse</code><emclass="property"> = True</em><aclass="headerlink" href="#matplotlib.scale.InvertedLogTransformBase.has_inverse" title="Permalink to this definition">¶</a></dt>
<codeclass="descname">input_dims</code><emclass="property"> = 1</em><aclass="headerlink" href="#matplotlib.scale.InvertedLogTransformBase.input_dims" title="Permalink to this definition">¶</a></dt>
<codeclass="descname">is_separable</code><emclass="property"> = True</em><aclass="headerlink" href="#matplotlib.scale.InvertedLogTransformBase.is_separable" title="Permalink to this definition">¶</a></dt>
<codeclass="descname">output_dims</code><emclass="property"> = 1</em><aclass="headerlink" href="#matplotlib.scale.InvertedLogTransformBase.output_dims" title="Permalink to this definition">¶</a></dt>
<codeclass="descname">transform_non_affine</code><spanclass="sig-paren">(</span><em>a</em><spanclass="sig-paren">)</span><aclass="reference internal" href="../_modules/matplotlib/scale.html#InvertedLogTransformBase.transform_non_affine"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink" href="#matplotlib.scale.InvertedLogTransformBase.transform_non_affine" title="Permalink to this definition">¶</a></dt>
<dd><p>Performs only the non-affine part of the transformation.</p>
<p><codeclass="docutils literal notranslate"><spanclass="pre">transform(values)</span></code> is always equivalent to
<p>In non-affine transformations, this is generally equivalent to
<codeclass="docutils literal notranslate"><spanclass="pre">transform(values)</span></code>. In affine transformations, this is
always a no-op.</p>
<p>Accepts a numpy array of shape (N x <aclass="reference internal" href="#matplotlib.scale.InvertedLogTransformBase.input_dims" title="matplotlib.scale.InvertedLogTransformBase.input_dims"><codeclass="xref py py-attr docutils literal notranslate"><spanclass="pre">input_dims</span></code></a>) and
returns a numpy array of shape (N x <aclass="reference internal" href="#matplotlib.scale.InvertedLogTransformBase.output_dims" title="matplotlib.scale.InvertedLogTransformBase.output_dims"><codeclass="xref py py-attr docutils literal notranslate"><spanclass="pre">output_dims</span></code></a>).</p>
<p>Alternatively, accepts a numpy array of length <aclass="reference internal" href="#matplotlib.scale.InvertedLogTransformBase.input_dims" title="matplotlib.scale.InvertedLogTransformBase.input_dims"><codeclass="xref py py-attr docutils literal notranslate"><spanclass="pre">input_dims</span></code></a>
and returns a numpy array of length <aclass="reference internal" href="#matplotlib.scale.InvertedLogTransformBase.output_dims" title="matplotlib.scale.InvertedLogTransformBase.output_dims"><codeclass="xref py py-attr docutils literal notranslate"><spanclass="pre">output_dims</span></code></a>.</p>
<emclass="property">class </em><codeclass="descclassname">matplotlib.scale.</code><codeclass="descname">InvertedNaturalLogTransform</code><spanclass="sig-paren">(</span><em>shorthand_name=None</em><spanclass="sig-paren">)</span><aclass="reference internal" href="../_modules/matplotlib/scale.html#InvertedNaturalLogTransform"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink" href="#matplotlib.scale.InvertedNaturalLogTransform" title="Permalink to this definition">¶</a></dt>
<codeclass="descname">base</code><emclass="property"> = 2.718281828459045</em><aclass="headerlink" href="#matplotlib.scale.InvertedNaturalLogTransform.base" title="Permalink to this definition">¶</a></dt>
<codeclass="descname">inverted</code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="reference internal" href="../_modules/matplotlib/scale.html#InvertedNaturalLogTransform.inverted"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink" href="#matplotlib.scale.InvertedNaturalLogTransform.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
<codeclass="descname">has_inverse</code><emclass="property"> = True</em><aclass="headerlink" href="#matplotlib.scale.InvertedSymmetricalLogTransform.has_inverse" title="Permalink to this definition">¶</a></dt>
<codeclass="descname">input_dims</code><emclass="property"> = 1</em><aclass="headerlink" href="#matplotlib.scale.InvertedSymmetricalLogTransform.input_dims" title="Permalink to this definition">¶</a></dt>
<codeclass="descname">inverted</code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="reference internal" href="../_modules/matplotlib/scale.html#InvertedSymmetricalLogTransform.inverted"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink" href="#matplotlib.scale.InvertedSymmetricalLogTransform.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
<codeclass="descname">is_separable</code><emclass="property"> = True</em><aclass="headerlink" href="#matplotlib.scale.InvertedSymmetricalLogTransform.is_separable" title="Permalink to this definition">¶</a></dt>
<codeclass="descname">output_dims</code><emclass="property"> = 1</em><aclass="headerlink" href="#matplotlib.scale.InvertedSymmetricalLogTransform.output_dims" title="Permalink to this definition">¶</a></dt>
<codeclass="descname">transform_non_affine</code><spanclass="sig-paren">(</span><em>a</em><spanclass="sig-paren">)</span><aclass="reference internal" href="../_modules/matplotlib/scale.html#InvertedSymmetricalLogTransform.transform_non_affine"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink" href="#matplotlib.scale.InvertedSymmetricalLogTransform.transform_non_affine" title="Permalink to this definition">¶</a></dt>
<dd><p>Performs only the non-affine part of the transformation.</p>
<p><codeclass="docutils literal notranslate"><spanclass="pre">transform(values)</span></code> is always equivalent to
<p>In non-affine transformations, this is generally equivalent to
<codeclass="docutils literal notranslate"><spanclass="pre">transform(values)</span></code>. In affine transformations, this is
always a no-op.</p>
<p>Accepts a numpy array of shape (N x <aclass="reference internal" href="#matplotlib.scale.InvertedSymmetricalLogTransform.input_dims" title="matplotlib.scale.InvertedSymmetricalLogTransform.input_dims"><codeclass="xref py py-attr docutils literal notranslate"><spanclass="pre">input_dims</span></code></a>) and
returns a numpy array of shape (N x <aclass="reference internal" href="#matplotlib.scale.InvertedSymmetricalLogTransform.output_dims" title="matplotlib.scale.InvertedSymmetricalLogTransform.output_dims"><codeclass="xref py py-attr docutils literal notranslate"><spanclass="pre">output_dims</span></code></a>).</p>
<p>Alternatively, accepts a numpy array of length <aclass="reference internal" href="#matplotlib.scale.InvertedSymmetricalLogTransform.input_dims" title="matplotlib.scale.InvertedSymmetricalLogTransform.input_dims"><codeclass="xref py py-attr docutils literal notranslate"><spanclass="pre">input_dims</span></code></a>
and returns a numpy array of length <aclass="reference internal" href="#matplotlib.scale.InvertedSymmetricalLogTransform.output_dims" title="matplotlib.scale.InvertedSymmetricalLogTransform.output_dims"><codeclass="xref py py-attr docutils literal notranslate"><spanclass="pre">output_dims</span></code></a>.</p>
</dd></dl>
</dd></dl>
<dlclass="class">
<dtid="matplotlib.scale.LinearScale">
<emclass="property">class </em><codeclass="descclassname">matplotlib.scale.</code><codeclass="descname">LinearScale</code><spanclass="sig-paren">(</span><em>axis</em>, <em>**kwargs</em><spanclass="sig-paren">)</span><aclass="reference internal" href="../_modules/matplotlib/scale.html#LinearScale"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink" href="#matplotlib.scale.LinearScale" title="Permalink to this definition">¶</a></dt>
<codeclass="descname">get_transform</code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="reference internal" href="../_modules/matplotlib/scale.html#LinearScale.get_transform"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink" href="#matplotlib.scale.LinearScale.get_transform" title="Permalink to this definition">¶</a></dt>
<dd><p>The transform for linear scaling is just the
<codeclass="descname">name</code><emclass="property"> = 'linear'</em><aclass="headerlink" href="#matplotlib.scale.LinearScale.name" title="Permalink to this definition">¶</a></dt>
<codeclass="descname">set_default_locators_and_formatters</code><spanclass="sig-paren">(</span><em>axis</em><spanclass="sig-paren">)</span><aclass="reference internal" href="../_modules/matplotlib/scale.html#LinearScale.set_default_locators_and_formatters"><spanclass="viewcode-link">[source]</span></a><aclass="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>
<dlclass="class">
<dtid="matplotlib.scale.Log10Transform">
<emclass="property">class </em><codeclass="descclassname">matplotlib.scale.</code><codeclass="descname">Log10Transform</code><spanclass="sig-paren">(</span><em>nonpos='clip'</em><spanclass="sig-paren">)</span><aclass="reference internal" href="../_modules/matplotlib/scale.html#Log10Transform"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink" href="#matplotlib.scale.Log10Transform" title="Permalink to this definition">¶</a></dt>
<codeclass="descname">base</code><emclass="property"> = 10.0</em><aclass="headerlink" href="#matplotlib.scale.Log10Transform.base" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>
<dlclass="method">
<dtid="matplotlib.scale.Log10Transform.inverted">
<codeclass="descname">inverted</code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="reference internal" href="../_modules/matplotlib/scale.html#Log10Transform.inverted"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink" href="#matplotlib.scale.Log10Transform.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
<emclass="property">class </em><codeclass="descclassname">matplotlib.scale.</code><codeclass="descname">Log2Transform</code><spanclass="sig-paren">(</span><em>nonpos='clip'</em><spanclass="sig-paren">)</span><aclass="reference internal" href="../_modules/matplotlib/scale.html#Log2Transform"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink" href="#matplotlib.scale.Log2Transform" title="Permalink to this definition">¶</a></dt>
<codeclass="descname">base</code><emclass="property"> = 2.0</em><aclass="headerlink" href="#matplotlib.scale.Log2Transform.base" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>
<dlclass="method">
<dtid="matplotlib.scale.Log2Transform.inverted">
<codeclass="descname">inverted</code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="reference internal" href="../_modules/matplotlib/scale.html#Log2Transform.inverted"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink" href="#matplotlib.scale.Log2Transform.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
<emclass="property">class </em><codeclass="descclassname">matplotlib.scale.</code><codeclass="descname">LogScale</code><spanclass="sig-paren">(</span><em>axis</em>, <em>**kwargs</em><spanclass="sig-paren">)</span><aclass="reference internal" href="../_modules/matplotlib/scale.html#LogScale"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink" href="#matplotlib.scale.LogScale" title="Permalink to this definition">¶</a></dt>
<emclass="property">class </em><codeclass="descname">InvertedLog10Transform</code><spanclass="sig-paren">(</span><em>shorthand_name=None</em><spanclass="sig-paren">)</span><aclass="headerlink" href="#matplotlib.scale.LogScale.InvertedLog10Transform" title="Permalink to this definition">¶</a></dt>
<codeclass="descname">base</code><emclass="property"> = 10.0</em><aclass="headerlink" href="#matplotlib.scale.LogScale.InvertedLog10Transform.base" title="Permalink to this definition">¶</a></dt>
<codeclass="descname">inverted</code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="headerlink" href="#matplotlib.scale.LogScale.InvertedLog10Transform.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
<emclass="property">class </em><codeclass="descname">InvertedLog2Transform</code><spanclass="sig-paren">(</span><em>shorthand_name=None</em><spanclass="sig-paren">)</span><aclass="headerlink" href="#matplotlib.scale.LogScale.InvertedLog2Transform" title="Permalink to this definition">¶</a></dt>
<codeclass="descname">base</code><emclass="property"> = 2.0</em><aclass="headerlink" href="#matplotlib.scale.LogScale.InvertedLog2Transform.base" title="Permalink to this definition">¶</a></dt>
<codeclass="descname">inverted</code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="headerlink" href="#matplotlib.scale.LogScale.InvertedLog2Transform.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
<emclass="property">class </em><codeclass="descname">InvertedLogTransform</code><spanclass="sig-paren">(</span><em>base</em><spanclass="sig-paren">)</span><aclass="headerlink" href="#matplotlib.scale.LogScale.InvertedLogTransform" title="Permalink to this definition">¶</a></dt>
<codeclass="descname">inverted</code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="headerlink" href="#matplotlib.scale.LogScale.InvertedLogTransform.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
<emclass="property">class </em><codeclass="descname">InvertedNaturalLogTransform</code><spanclass="sig-paren">(</span><em>shorthand_name=None</em><spanclass="sig-paren">)</span><aclass="headerlink" href="#matplotlib.scale.LogScale.InvertedNaturalLogTransform" title="Permalink to this definition">¶</a></dt>
<codeclass="descname">base</code><emclass="property"> = 2.718281828459045</em><aclass="headerlink" href="#matplotlib.scale.LogScale.InvertedNaturalLogTransform.base" title="Permalink to this definition">¶</a></dt>
<codeclass="descname">inverted</code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="headerlink" href="#matplotlib.scale.LogScale.InvertedNaturalLogTransform.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
<emclass="property">class </em><codeclass="descname">Log10Transform</code><spanclass="sig-paren">(</span><em>nonpos='clip'</em><spanclass="sig-paren">)</span><aclass="headerlink" href="#matplotlib.scale.LogScale.Log10Transform" title="Permalink to this definition">¶</a></dt>
<codeclass="descname">base</code><emclass="property"> = 10.0</em><aclass="headerlink" href="#matplotlib.scale.LogScale.Log10Transform.base" title="Permalink to this definition">¶</a></dt>
<codeclass="descname">inverted</code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="headerlink" href="#matplotlib.scale.LogScale.Log10Transform.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
<emclass="property">class </em><codeclass="descname">Log2Transform</code><spanclass="sig-paren">(</span><em>nonpos='clip'</em><spanclass="sig-paren">)</span><aclass="headerlink" href="#matplotlib.scale.LogScale.Log2Transform" title="Permalink to this definition">¶</a></dt>
<codeclass="descname">base</code><emclass="property"> = 2.0</em><aclass="headerlink" href="#matplotlib.scale.LogScale.Log2Transform.base" title="Permalink to this definition">¶</a></dt>
<codeclass="descname">inverted</code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="headerlink" href="#matplotlib.scale.LogScale.Log2Transform.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
<emclass="property">class </em><codeclass="descname">LogTransform</code><spanclass="sig-paren">(</span><em>base</em>, <em>nonpos='clip'</em><spanclass="sig-paren">)</span><aclass="headerlink" href="#matplotlib.scale.LogScale.LogTransform" title="Permalink to this definition">¶</a></dt>
<codeclass="descname">inverted</code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="headerlink" href="#matplotlib.scale.LogScale.LogTransform.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
<emclass="property">class </em><codeclass="descname">LogTransformBase</code><spanclass="sig-paren">(</span><em>nonpos='clip'</em><spanclass="sig-paren">)</span><aclass="headerlink" href="#matplotlib.scale.LogScale.LogTransformBase" title="Permalink to this definition">¶</a></dt>
<codeclass="descname">has_inverse</code><emclass="property"> = True</em><aclass="headerlink" href="#matplotlib.scale.LogScale.LogTransformBase.has_inverse" title="Permalink to this definition">¶</a></dt>
<codeclass="descname">input_dims</code><emclass="property"> = 1</em><aclass="headerlink" href="#matplotlib.scale.LogScale.LogTransformBase.input_dims" title="Permalink to this definition">¶</a></dt>
<codeclass="descname">is_separable</code><emclass="property"> = True</em><aclass="headerlink" href="#matplotlib.scale.LogScale.LogTransformBase.is_separable" title="Permalink to this definition">¶</a></dt>
<codeclass="descname">output_dims</code><emclass="property"> = 1</em><aclass="headerlink" href="#matplotlib.scale.LogScale.LogTransformBase.output_dims" title="Permalink to this definition">¶</a></dt>
<codeclass="descname">transform_non_affine</code><spanclass="sig-paren">(</span><em>a</em><spanclass="sig-paren">)</span><aclass="headerlink" href="#matplotlib.scale.LogScale.LogTransformBase.transform_non_affine" title="Permalink to this definition">¶</a></dt>
<dd><p>Performs only the non-affine part of the transformation.</p>
<p><codeclass="docutils literal notranslate"><spanclass="pre">transform(values)</span></code> is always equivalent to
<p>In non-affine transformations, this is generally equivalent to
<codeclass="docutils literal notranslate"><spanclass="pre">transform(values)</span></code>. In affine transformations, this is
always a no-op.</p>
<p>Accepts a numpy array of shape (N x <aclass="reference internal" href="#matplotlib.scale.LogScale.LogTransformBase.input_dims" title="matplotlib.scale.LogScale.LogTransformBase.input_dims"><codeclass="xref py py-attr docutils literal notranslate"><spanclass="pre">input_dims</span></code></a>) and
returns a numpy array of shape (N x <aclass="reference internal" href="#matplotlib.scale.LogScale.LogTransformBase.output_dims" title="matplotlib.scale.LogScale.LogTransformBase.output_dims"><codeclass="xref py py-attr docutils literal notranslate"><spanclass="pre">output_dims</span></code></a>).</p>
<p>Alternatively, accepts a numpy array of length <aclass="reference internal" href="#matplotlib.scale.LogScale.LogTransformBase.input_dims" title="matplotlib.scale.LogScale.LogTransformBase.input_dims"><codeclass="xref py py-attr docutils literal notranslate"><spanclass="pre">input_dims</span></code></a>
and returns a numpy array of length <aclass="reference internal" href="#matplotlib.scale.LogScale.LogTransformBase.output_dims" title="matplotlib.scale.LogScale.LogTransformBase.output_dims"><codeclass="xref py py-attr docutils literal notranslate"><spanclass="pre">output_dims</span></code></a>.</p>
<emclass="property">class </em><codeclass="descname">NaturalLogTransform</code><spanclass="sig-paren">(</span><em>nonpos='clip'</em><spanclass="sig-paren">)</span><aclass="headerlink" href="#matplotlib.scale.LogScale.NaturalLogTransform" title="Permalink to this definition">¶</a></dt>
<codeclass="descname">base</code><emclass="property"> = 2.718281828459045</em><aclass="headerlink" href="#matplotlib.scale.LogScale.NaturalLogTransform.base" title="Permalink to this definition">¶</a></dt>
<codeclass="descname">inverted</code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="headerlink" href="#matplotlib.scale.LogScale.NaturalLogTransform.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
<codeclass="descname">get_transform</code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="reference internal" href="../_modules/matplotlib/scale.html#LogScale.get_transform"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink" href="#matplotlib.scale.LogScale.get_transform" title="Permalink to this definition">¶</a></dt>
<codeclass="descname">limit_range_for_scale</code><spanclass="sig-paren">(</span><em>vmin</em>, <em>vmax</em>, <em>minpos</em><spanclass="sig-paren">)</span><aclass="reference internal" href="../_modules/matplotlib/scale.html#LogScale.limit_range_for_scale"><spanclass="viewcode-link">[source]</span></a><aclass="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>
<dlclass="attribute">
<dtid="matplotlib.scale.LogScale.name">
<codeclass="descname">name</code><emclass="property"> = 'log'</em><aclass="headerlink" href="#matplotlib.scale.LogScale.name" title="Permalink to this definition">¶</a></dt>
<codeclass="descname">set_default_locators_and_formatters</code><spanclass="sig-paren">(</span><em>axis</em><spanclass="sig-paren">)</span><aclass="reference internal" href="../_modules/matplotlib/scale.html#LogScale.set_default_locators_and_formatters"><spanclass="viewcode-link">[source]</span></a><aclass="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>
<dlclass="class">
<dtid="matplotlib.scale.LogTransform">
<emclass="property">class </em><codeclass="descclassname">matplotlib.scale.</code><codeclass="descname">LogTransform</code><spanclass="sig-paren">(</span><em>base</em>, <em>nonpos='clip'</em><spanclass="sig-paren">)</span><aclass="reference internal" href="../_modules/matplotlib/scale.html#LogTransform"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink" href="#matplotlib.scale.LogTransform" title="Permalink to this definition">¶</a></dt>
<codeclass="descname">inverted</code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="reference internal" href="../_modules/matplotlib/scale.html#LogTransform.inverted"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink" href="#matplotlib.scale.LogTransform.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
<emclass="property">class </em><codeclass="descclassname">matplotlib.scale.</code><codeclass="descname">LogTransformBase</code><spanclass="sig-paren">(</span><em>nonpos='clip'</em><spanclass="sig-paren">)</span><aclass="reference internal" href="../_modules/matplotlib/scale.html#LogTransformBase"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink" href="#matplotlib.scale.LogTransformBase" title="Permalink to this definition">¶</a></dt>
<codeclass="descname">has_inverse</code><emclass="property"> = True</em><aclass="headerlink" href="#matplotlib.scale.LogTransformBase.has_inverse" title="Permalink to this definition">¶</a></dt>
<codeclass="descname">input_dims</code><emclass="property"> = 1</em><aclass="headerlink" href="#matplotlib.scale.LogTransformBase.input_dims" title="Permalink to this definition">¶</a></dt>
<codeclass="descname">is_separable</code><emclass="property"> = True</em><aclass="headerlink" href="#matplotlib.scale.LogTransformBase.is_separable" title="Permalink to this definition">¶</a></dt>
<codeclass="descname">output_dims</code><emclass="property"> = 1</em><aclass="headerlink" href="#matplotlib.scale.LogTransformBase.output_dims" title="Permalink to this definition">¶</a></dt>
<codeclass="descname">transform_non_affine</code><spanclass="sig-paren">(</span><em>a</em><spanclass="sig-paren">)</span><aclass="reference internal" href="../_modules/matplotlib/scale.html#LogTransformBase.transform_non_affine"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink" href="#matplotlib.scale.LogTransformBase.transform_non_affine" title="Permalink to this definition">¶</a></dt>
<dd><p>Performs only the non-affine part of the transformation.</p>
<p><codeclass="docutils literal notranslate"><spanclass="pre">transform(values)</span></code> is always equivalent to
<p>In non-affine transformations, this is generally equivalent to
<codeclass="docutils literal notranslate"><spanclass="pre">transform(values)</span></code>. In affine transformations, this is
always a no-op.</p>
<p>Accepts a numpy array of shape (N x <aclass="reference internal" href="#matplotlib.scale.LogTransformBase.input_dims" title="matplotlib.scale.LogTransformBase.input_dims"><codeclass="xref py py-attr docutils literal notranslate"><spanclass="pre">input_dims</span></code></a>) and
returns a numpy array of shape (N x <aclass="reference internal" href="#matplotlib.scale.LogTransformBase.output_dims" title="matplotlib.scale.LogTransformBase.output_dims"><codeclass="xref py py-attr docutils literal notranslate"><spanclass="pre">output_dims</span></code></a>).</p>
<p>Alternatively, accepts a numpy array of length <aclass="reference internal" href="#matplotlib.scale.LogTransformBase.input_dims" title="matplotlib.scale.LogTransformBase.input_dims"><codeclass="xref py py-attr docutils literal notranslate"><spanclass="pre">input_dims</span></code></a>
and returns a numpy array of length <aclass="reference internal" href="#matplotlib.scale.LogTransformBase.output_dims" title="matplotlib.scale.LogTransformBase.output_dims"><codeclass="xref py py-attr docutils literal notranslate"><spanclass="pre">output_dims</span></code></a>.</p>
</dd></dl>
</dd></dl>
<dlclass="class">
<dtid="matplotlib.scale.LogisticTransform">
<emclass="property">class </em><codeclass="descclassname">matplotlib.scale.</code><codeclass="descname">LogisticTransform</code><spanclass="sig-paren">(</span><em>nonpos='mask'</em><spanclass="sig-paren">)</span><aclass="reference internal" href="../_modules/matplotlib/scale.html#LogisticTransform"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink" href="#matplotlib.scale.LogisticTransform" title="Permalink to this definition">¶</a></dt>
<codeclass="descname">has_inverse</code><emclass="property"> = True</em><aclass="headerlink" href="#matplotlib.scale.LogisticTransform.has_inverse" title="Permalink to this definition">¶</a></dt>
<codeclass="descname">input_dims</code><emclass="property"> = 1</em><aclass="headerlink" href="#matplotlib.scale.LogisticTransform.input_dims" title="Permalink to this definition">¶</a></dt>
<codeclass="descname">inverted</code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="reference internal" href="../_modules/matplotlib/scale.html#LogisticTransform.inverted"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink" href="#matplotlib.scale.LogisticTransform.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
<codeclass="descname">is_separable</code><emclass="property"> = True</em><aclass="headerlink" href="#matplotlib.scale.LogisticTransform.is_separable" title="Permalink to this definition">¶</a></dt>
<codeclass="descname">output_dims</code><emclass="property"> = 1</em><aclass="headerlink" href="#matplotlib.scale.LogisticTransform.output_dims" title="Permalink to this definition">¶</a></dt>
<codeclass="descname">transform_non_affine</code><spanclass="sig-paren">(</span><em>a</em><spanclass="sig-paren">)</span><aclass="reference internal" href="../_modules/matplotlib/scale.html#LogisticTransform.transform_non_affine"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink" href="#matplotlib.scale.LogisticTransform.transform_non_affine" title="Permalink to this definition">¶</a></dt>
<dd><p>logistic transform (base 10)</p>
</dd></dl>
</dd></dl>
<dlclass="class">
<dtid="matplotlib.scale.LogitScale">
<emclass="property">class </em><codeclass="descclassname">matplotlib.scale.</code><codeclass="descname">LogitScale</code><spanclass="sig-paren">(</span><em>axis</em>, <em>nonpos='mask'</em><spanclass="sig-paren">)</span><aclass="reference internal" href="../_modules/matplotlib/scale.html#LogitScale"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink" href="#matplotlib.scale.LogitScale" title="Permalink to this definition">¶</a></dt>
<codeclass="descname">get_transform</code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="reference internal" href="../_modules/matplotlib/scale.html#LogitScale.get_transform"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink" href="#matplotlib.scale.LogitScale.get_transform" title="Permalink to this definition">¶</a></dt>
<codeclass="descname">limit_range_for_scale</code><spanclass="sig-paren">(</span><em>vmin</em>, <em>vmax</em>, <em>minpos</em><spanclass="sig-paren">)</span><aclass="reference internal" href="../_modules/matplotlib/scale.html#LogitScale.limit_range_for_scale"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink" href="#matplotlib.scale.LogitScale.limit_range_for_scale" title="Permalink to this definition">¶</a></dt>
<dd><p>Limit the domain to values between 0 and 1 (excluded).</p>
</dd></dl>
<dlclass="attribute">
<dtid="matplotlib.scale.LogitScale.name">
<codeclass="descname">name</code><emclass="property"> = 'logit'</em><aclass="headerlink" href="#matplotlib.scale.LogitScale.name" title="Permalink to this definition">¶</a></dt>
<codeclass="descname">set_default_locators_and_formatters</code><spanclass="sig-paren">(</span><em>axis</em><spanclass="sig-paren">)</span><aclass="reference internal" href="../_modules/matplotlib/scale.html#LogitScale.set_default_locators_and_formatters"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink" href="#matplotlib.scale.LogitScale.set_default_locators_and_formatters" title="Permalink to this definition">¶</a></dt>
<dd><p>Set the <aclass="reference internal" href="ticker_api.html#matplotlib.ticker.Locator" title="matplotlib.ticker.Locator"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">Locator</span></code></a> and
<aclass="reference internal" href="ticker_api.html#matplotlib.ticker.Formatter" title="matplotlib.ticker.Formatter"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">Formatter</span></code></a> objects on the given
axis to match this scale.</p>
</dd></dl>
</dd></dl>
<dlclass="class">
<dtid="matplotlib.scale.LogitTransform">
<emclass="property">class </em><codeclass="descclassname">matplotlib.scale.</code><codeclass="descname">LogitTransform</code><spanclass="sig-paren">(</span><em>nonpos='mask'</em><spanclass="sig-paren">)</span><aclass="reference internal" href="../_modules/matplotlib/scale.html#LogitTransform"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink" href="#matplotlib.scale.LogitTransform" title="Permalink to this definition">¶</a></dt>
<codeclass="descname">has_inverse</code><emclass="property"> = True</em><aclass="headerlink" href="#matplotlib.scale.LogitTransform.has_inverse" title="Permalink to this definition">¶</a></dt>
<codeclass="descname">input_dims</code><emclass="property"> = 1</em><aclass="headerlink" href="#matplotlib.scale.LogitTransform.input_dims" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>
<dlclass="method">
<dtid="matplotlib.scale.LogitTransform.inverted">
<codeclass="descname">inverted</code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="reference internal" href="../_modules/matplotlib/scale.html#LogitTransform.inverted"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink" href="#matplotlib.scale.LogitTransform.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
<codeclass="descname">is_separable</code><emclass="property"> = True</em><aclass="headerlink" href="#matplotlib.scale.LogitTransform.is_separable" title="Permalink to this definition">¶</a></dt>
<codeclass="descname">output_dims</code><emclass="property"> = 1</em><aclass="headerlink" href="#matplotlib.scale.LogitTransform.output_dims" title="Permalink to this definition">¶</a></dt>
<codeclass="descname">transform_non_affine</code><spanclass="sig-paren">(</span><em>a</em><spanclass="sig-paren">)</span><aclass="reference internal" href="../_modules/matplotlib/scale.html#LogitTransform.transform_non_affine"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink" href="#matplotlib.scale.LogitTransform.transform_non_affine" title="Permalink to this definition">¶</a></dt>
<dd><p>logit transform (base 10), masked or clipped</p>
</dd></dl>
</dd></dl>
<dlclass="class">
<dtid="matplotlib.scale.NaturalLogTransform">
<emclass="property">class </em><codeclass="descclassname">matplotlib.scale.</code><codeclass="descname">NaturalLogTransform</code><spanclass="sig-paren">(</span><em>nonpos='clip'</em><spanclass="sig-paren">)</span><aclass="reference internal" href="../_modules/matplotlib/scale.html#NaturalLogTransform"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink" href="#matplotlib.scale.NaturalLogTransform" title="Permalink to this definition">¶</a></dt>
<codeclass="descname">base</code><emclass="property"> = 2.718281828459045</em><aclass="headerlink" href="#matplotlib.scale.NaturalLogTransform.base" title="Permalink to this definition">¶</a></dt>
<codeclass="descname">inverted</code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="reference internal" href="../_modules/matplotlib/scale.html#NaturalLogTransform.inverted"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink" href="#matplotlib.scale.NaturalLogTransform.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
<emclass="property">class </em><codeclass="descclassname">matplotlib.scale.</code><codeclass="descname">ScaleBase</code><aclass="reference internal" href="../_modules/matplotlib/scale.html#ScaleBase"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink" href="#matplotlib.scale.ScaleBase" title="Permalink to this definition">¶</a></dt>
<codeclass="descname">get_transform</code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="reference internal" href="../_modules/matplotlib/scale.html#ScaleBase.get_transform"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink" href="#matplotlib.scale.ScaleBase.get_transform" title="Permalink to this definition">¶</a></dt>
<codeclass="descname">limit_range_for_scale</code><spanclass="sig-paren">(</span><em>vmin</em>, <em>vmax</em>, <em>minpos</em><spanclass="sig-paren">)</span><aclass="reference internal" href="../_modules/matplotlib/scale.html#ScaleBase.limit_range_for_scale"><spanclass="viewcode-link">[source]</span></a><aclass="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>
<dlclass="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>
<codeclass="descname">set_default_locators_and_formatters</code><spanclass="sig-paren">(</span><em>axis</em><spanclass="sig-paren">)</span><aclass="reference internal" href="../_modules/matplotlib/scale.html#ScaleBase.set_default_locators_and_formatters"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink" href="#matplotlib.scale.ScaleBase.set_default_locators_and_formatters" title="Permalink to this definition">¶</a></dt>
<dd><p>Set the <aclass="reference internal" href="ticker_api.html#matplotlib.ticker.Locator" title="matplotlib.ticker.Locator"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">Locator</span></code></a> and
<aclass="reference internal" href="ticker_api.html#matplotlib.ticker.Formatter" title="matplotlib.ticker.Formatter"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">Formatter</span></code></a> objects on the given