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 (v3.2.0). For the latest version see <ahref="https://matplotlib.org/stable/api/transformations.html">https://matplotlib.org/stable/api/transformations.html</a></div>
<h1><codeclass="docutils literal notranslate"><spanclass="pre">matplotlib.transforms</span></code><aclass="headerlink" href="#matplotlib-transforms" title="Permalink to this headline">¶</a></h1>
<pclass="warning">Inheritance diagram of matplotlib.transforms, matplotlib.path</p></object></div>
<spanclass="target" id="module-matplotlib.transforms"></span><p>matplotlib includes a framework for arbitrary geometric
transformations that is used determine the final position of all
elements drawn on the canvas.</p>
<p>Transforms are composed into trees of <aclass="reference internal" href="#matplotlib.transforms.TransformNode" title="matplotlib.transforms.TransformNode"><codeclass="xref py py-obj docutils literal notranslate"><spanclass="pre">TransformNode</span></code></a> objects
whose actual value depends on their children. When the contents of
children change, their parents are automatically invalidated. The
next time an invalidated transform is accessed, it is recomputed to
reflect those changes. This invalidation/caching approach prevents
unnecessary recomputations of transforms, and contributes to better
interactive performance.</p>
<p>For example, here is a graph of the transform tree used to plot data
<p>The backends are not expected to handle non-affine transformations
themselves.</p>
<dlclass="class">
<dtid="matplotlib.transforms.Affine2D">
<emclass="property">class </em><codeclass="descclassname">matplotlib.transforms.</code><codeclass="descname">Affine2D</code><spanclass="sig-paren">(</span><em>matrix=None</em>, <em>**kwargs</em><spanclass="sig-paren">)</span><aclass="reference internal" href="../_modules/matplotlib/transforms.html#Affine2D"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink" href="#matplotlib.transforms.Affine2D" title="Permalink to this definition">¶</a></dt>
<p>If <em>matrix</em> is None, initialize with the identity transform.</p>
<dlclass="method">
<dtid="matplotlib.transforms.Affine2D.clear">
<codeclass="descname">clear</code><spanclass="sig-paren">(</span><em>self</em><spanclass="sig-paren">)</span><aclass="reference internal" href="../_modules/matplotlib/transforms.html#Affine2D.clear"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink" href="#matplotlib.transforms.Affine2D.clear" title="Permalink to this definition">¶</a></dt>
<dd><p>Reset the underlying matrix to the identity transform.</p>
<codeclass="descname">get_matrix</code><spanclass="sig-paren">(</span><em>self</em><spanclass="sig-paren">)</span><aclass="reference internal" href="../_modules/matplotlib/transforms.html#Affine2D.get_matrix"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink" href="#matplotlib.transforms.Affine2D.get_matrix" title="Permalink to this definition">¶</a></dt>
<dd><p>Get the underlying transformation matrix as a 3x3 numpy array:</p>
<emclass="property">static </em><codeclass="descname">identity</code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="reference internal" href="../_modules/matplotlib/transforms.html#Affine2D.identity"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink" href="#matplotlib.transforms.Affine2D.identity" title="Permalink to this definition">¶</a></dt>
<dd><p>Return a new <aclass="reference internal" href="#matplotlib.transforms.Affine2D" title="matplotlib.transforms.Affine2D"><codeclass="xref py py-obj docutils literal notranslate"><spanclass="pre">Affine2D</span></code></a> object that is the identity transform.</p>
<p>Unless this transform will be mutated later on, consider using
the faster <aclass="reference internal" href="#matplotlib.transforms.IdentityTransform" title="matplotlib.transforms.IdentityTransform"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">IdentityTransform</span></code></a> class instead.</p>
</dd></dl>
<dlclass="method">
<dtid="matplotlib.transforms.Affine2D.rotate">
<codeclass="descname">rotate</code><spanclass="sig-paren">(</span><em>self</em>, <em>theta</em><spanclass="sig-paren">)</span><aclass="reference internal" href="../_modules/matplotlib/transforms.html#Affine2D.rotate"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink" href="#matplotlib.transforms.Affine2D.rotate" title="Permalink to this definition">¶</a></dt>
<dd><p>Add a rotation (in radians) to this transform in place.</p>
<p>Returns <em>self</em>, so this method can easily be chained with more
<codeclass="descname">rotate_deg</code><spanclass="sig-paren">(</span><em>self</em>, <em>degrees</em><spanclass="sig-paren">)</span><aclass="reference internal" href="../_modules/matplotlib/transforms.html#Affine2D.rotate_deg"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink" href="#matplotlib.transforms.Affine2D.rotate_deg" title="Permalink to this definition">¶</a></dt>
<dd><p>Add a rotation (in degrees) to this transform in place.</p>
<p>Returns <em>self</em>, so this method can easily be chained with more
and <aclass="reference internal" href="#matplotlib.transforms.Affine2D.scale" title="matplotlib.transforms.Affine2D.scale"><codeclass="xref py py-meth docutils literal notranslate"><spanclass="pre">scale()</span></code></a>.</p>
</dd></dl>
<dlclass="method">
<dtid="matplotlib.transforms.Affine2D.scale">
<codeclass="descname">scale</code><spanclass="sig-paren">(</span><em>self</em>, <em>sx</em>, <em>sy=None</em><spanclass="sig-paren">)</span><aclass="reference internal" href="../_modules/matplotlib/transforms.html#Affine2D.scale"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink" href="#matplotlib.transforms.Affine2D.scale" title="Permalink to this definition">¶</a></dt>
<dd><p>Adds a scale in place.</p>
<p>If <em>sy</em> is None, the same scale is applied in both the <em>x</em>- and
<em>y</em>-directions.</p>
<p>Returns <em>self</em>, so this method can easily be chained with more
and <aclass="reference internal" href="#matplotlib.transforms.Affine2D.scale" title="matplotlib.transforms.Affine2D.scale"><codeclass="xref py py-meth docutils literal notranslate"><spanclass="pre">scale()</span></code></a>.</p>
</dd></dl>
<dlclass="method">
<dtid="matplotlib.transforms.Affine2D.set">
<codeclass="descname">set</code><spanclass="sig-paren">(</span><em>self</em>, <em>other</em><spanclass="sig-paren">)</span><aclass="reference internal" href="../_modules/matplotlib/transforms.html#Affine2D.set"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink" href="#matplotlib.transforms.Affine2D.set" title="Permalink to this definition">¶</a></dt>
<dd><p>Set this transformation from the frozen copy of another
<codeclass="descname">set_matrix</code><spanclass="sig-paren">(</span><em>self</em>, <em>mtx</em><spanclass="sig-paren">)</span><aclass="reference internal" href="../_modules/matplotlib/transforms.html#Affine2D.set_matrix"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink" href="#matplotlib.transforms.Affine2D.set_matrix" title="Permalink to this definition">¶</a></dt>
<dd><p>Set the underlying transformation matrix from a 3x3 numpy array:</p>
<codeclass="descname">skew</code><spanclass="sig-paren">(</span><em>self</em>, <em>xShear</em>, <em>yShear</em><spanclass="sig-paren">)</span><aclass="reference internal" href="../_modules/matplotlib/transforms.html#Affine2D.skew"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink" href="#matplotlib.transforms.Affine2D.skew" title="Permalink to this definition">¶</a></dt>
<dd><p>Adds a skew in place.</p>
<p><em>xShear</em> and <em>yShear</em> are the shear angles along the <em>x</em>- and
<em>y</em>-axes, respectively, in radians.</p>
<p>Returns <em>self</em>, so this method can easily be chained with more
and <aclass="reference internal" href="#matplotlib.transforms.Affine2D.scale" title="matplotlib.transforms.Affine2D.scale"><codeclass="xref py py-meth docutils literal notranslate"><spanclass="pre">scale()</span></code></a>.</p>
</dd></dl>
<dlclass="method">
<dtid="matplotlib.transforms.Affine2D.skew_deg">
<codeclass="descname">skew_deg</code><spanclass="sig-paren">(</span><em>self</em>, <em>xShear</em>, <em>yShear</em><spanclass="sig-paren">)</span><aclass="reference internal" href="../_modules/matplotlib/transforms.html#Affine2D.skew_deg"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink" href="#matplotlib.transforms.Affine2D.skew_deg" title="Permalink to this definition">¶</a></dt>
<dd><p>Adds a skew in place.</p>
<p><em>xShear</em> and <em>yShear</em> are the shear angles along the <em>x</em>- and
<em>y</em>-axes, respectively, in degrees.</p>
<p>Returns <em>self</em>, so this method can easily be chained with more
and <aclass="reference internal" href="#matplotlib.transforms.Affine2D.scale" title="matplotlib.transforms.Affine2D.scale"><codeclass="xref py py-meth docutils literal notranslate"><spanclass="pre">scale()</span></code></a>.</p>
</dd></dl>
<dlclass="method">
<dtid="matplotlib.transforms.Affine2D.translate">
<codeclass="descname">translate</code><spanclass="sig-paren">(</span><em>self</em>, <em>tx</em>, <em>ty</em><spanclass="sig-paren">)</span><aclass="reference internal" href="../_modules/matplotlib/transforms.html#Affine2D.translate"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink" href="#matplotlib.transforms.Affine2D.translate" title="Permalink to this definition">¶</a></dt>
<dd><p>Adds a translation in place.</p>
<p>Returns <em>self</em>, so this method can easily be chained with more
and <aclass="reference internal" href="#matplotlib.transforms.Affine2D.scale" title="matplotlib.transforms.Affine2D.scale"><codeclass="xref py py-meth docutils literal notranslate"><spanclass="pre">scale()</span></code></a>.</p>
</dd></dl>
</dd></dl>
<dlclass="class">
<dtid="matplotlib.transforms.Affine2DBase">
<emclass="property">class </em><codeclass="descclassname">matplotlib.transforms.</code><codeclass="descname">Affine2DBase</code><spanclass="sig-paren">(</span><em>*args</em>, <em>**kwargs</em><spanclass="sig-paren">)</span><aclass="reference internal" href="../_modules/matplotlib/transforms.html#Affine2DBase"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink" href="#matplotlib.transforms.Affine2DBase" title="Permalink to this definition">¶</a></dt>
<p>Subclasses of this class will generally only need to override a
constructor and <codeclass="xref py py-meth docutils literal notranslate"><spanclass="pre">get_matrix()</span></code> that generates a custom 3x3 matrix.</p>
<p>Creates a new <aclass="reference internal" href="#matplotlib.transforms.TransformNode" title="matplotlib.transforms.TransformNode"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">TransformNode</span></code></a>.</p>
<trclass="field-odd field"><thclass="field-name">Parameters:</th><tdclass="field-body"><dlclass="first last docutils">
<dt><strong>shorthand_name</strong><spanclass="classifier">str</span></dt><dd><p>A string representing the "name" of the transform. The name carries
no significance other than to improve the readability of
<codeclass="docutils literal notranslate"><spanclass="pre">str(transform)</span></code> when DEBUG=True.</p>
<codeclass="descname">frozen</code><spanclass="sig-paren">(</span><em>self</em><spanclass="sig-paren">)</span><aclass="reference internal" href="../_modules/matplotlib/transforms.html#Affine2DBase.frozen"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink" href="#matplotlib.transforms.Affine2DBase.frozen" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns a frozen copy of this transform node. The frozen copy
will not update when its children change. Useful for storing
a previously known state of a transform where
<codeclass="docutils literal notranslate"><spanclass="pre">copy.deepcopy()</span></code> might normally be used.</p>
<codeclass="descname">has_inverse</code><emclass="property"> = True</em><aclass="headerlink" href="#matplotlib.transforms.Affine2DBase.has_inverse" title="Permalink to this definition">¶</a></dt>
<codeclass="descname">input_dims</code><emclass="property"> = 2</em><aclass="headerlink" href="#matplotlib.transforms.Affine2DBase.input_dims" title="Permalink to this definition">¶</a></dt>
<codeclass="descname">inverted</code><spanclass="sig-paren">(</span><em>self</em><spanclass="sig-paren">)</span><aclass="reference internal" href="../_modules/matplotlib/transforms.html#Affine2DBase.inverted"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink" href="#matplotlib.transforms.Affine2DBase.inverted" title="Permalink to this definition">¶</a></dt>
<dd><p>Return the corresponding inverse transformation.</p>
<emclass="property">property </em><codeclass="descname">is_separable</code><aclass="headerlink" href="#matplotlib.transforms.Affine2DBase.is_separable" title="Permalink to this definition">¶</a></dt>
<dd><p>bool(x) -> bool</p>
<p>Returns True when the argument x is true, False otherwise.
The builtins True and False are the only two instances of the class bool.
The class bool is a subclass of the class int, and cannot be subclassed.</p>
<codeclass="descname">output_dims</code><emclass="property"> = 2</em><aclass="headerlink" href="#matplotlib.transforms.Affine2DBase.output_dims" title="Permalink to this definition">¶</a></dt>
<codeclass="descname">to_values</code><spanclass="sig-paren">(</span><em>self</em><spanclass="sig-paren">)</span><aclass="reference internal" href="../_modules/matplotlib/transforms.html#Affine2DBase.to_values"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink" href="#matplotlib.transforms.Affine2DBase.to_values" title="Permalink to this definition">¶</a></dt>
<dd><p>Return the values of the matrix as an <codeclass="docutils literal notranslate"><spanclass="pre">(a,</span><spanclass="pre">b,</span><spanclass="pre">c,</span><spanclass="pre">d,</span><spanclass="pre">e,</span><spanclass="pre">f)</span></code> tuple.</p>
<codeclass="descname">transform_affine</code><spanclass="sig-paren">(</span><em>self</em>, <em>points</em><spanclass="sig-paren">)</span><aclass="reference internal" href="../_modules/matplotlib/transforms.html#Affine2DBase.transform_affine"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink" href="#matplotlib.transforms.Affine2DBase.transform_affine" title="Permalink to this definition">¶</a></dt>
<dd><p>Performs only the affine part of this transformation on the
given array of values.</p>
<p><codeclass="docutils literal notranslate"><spanclass="pre">transform(values)</span></code> is always equivalent to
<trclass="field-even field"><thclass="field-name">Returns:</th><tdclass="field-body"><dlclass="first last docutils">
<dt><strong>values</strong><spanclass="classifier">array</span></dt><dd><p>The output values as NumPy array of length <aclass="reference internal" href="#matplotlib.transforms.Affine2DBase.input_dims" title="matplotlib.transforms.Affine2DBase.input_dims"><codeclass="xref py py-attr docutils literal notranslate"><spanclass="pre">input_dims</span></code></a> or
shape (N x <aclass="reference internal" href="#matplotlib.transforms.Affine2DBase.output_dims" title="matplotlib.transforms.Affine2DBase.output_dims"><codeclass="xref py py-attr docutils literal notranslate"><spanclass="pre">output_dims</span></code></a>), depending on the input.</p>
</dd>
</dl>
</td>
</tr>
</tbody>
</table>
</dd></dl>
</dd></dl>
<dlclass="class">
<dtid="matplotlib.transforms.AffineBase">
<emclass="property">class </em><codeclass="descclassname">matplotlib.transforms.</code><codeclass="descname">AffineBase</code><spanclass="sig-paren">(</span><em>*args</em>, <em>**kwargs</em><spanclass="sig-paren">)</span><aclass="reference internal" href="../_modules/matplotlib/transforms.html#AffineBase"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink" href="#matplotlib.transforms.AffineBase" title="Permalink to this definition">¶</a></dt>
<trclass="field-odd field"><thclass="field-name">Parameters:</th><tdclass="field-body"><dlclass="first last docutils">
<dt><strong>shorthand_name</strong><spanclass="classifier">str</span></dt><dd><p>A string representing the "name" of the transform. The name carries
no significance other than to improve the readability of
<codeclass="docutils literal notranslate"><spanclass="pre">str(transform)</span></code> when DEBUG=True.</p>
<codeclass="descname">get_affine</code><spanclass="sig-paren">(</span><em>self</em><spanclass="sig-paren">)</span><aclass="reference internal" href="../_modules/matplotlib/transforms.html#AffineBase.get_affine"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink" href="#matplotlib.transforms.AffineBase.get_affine" title="Permalink to this definition">¶</a></dt>
<codeclass="descname">is_affine</code><emclass="property"> = True</em><aclass="headerlink" href="#matplotlib.transforms.AffineBase.is_affine" title="Permalink to this definition">¶</a></dt>
<codeclass="descname">transform</code><spanclass="sig-paren">(</span><em>self</em>, <em>values</em><spanclass="sig-paren">)</span><aclass="reference internal" href="../_modules/matplotlib/transforms.html#AffineBase.transform"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink" href="#matplotlib.transforms.AffineBase.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 <codeclass="xref py py-attr docutils literal notranslate"><spanclass="pre">input_dims</span></code>) and
returns a numpy array of shape (N x <codeclass="xref py py-attr docutils literal notranslate"><spanclass="pre">output_dims</span></code>).</p>
<p>Alternatively, accepts a numpy array of length <codeclass="xref py py-attr docutils literal notranslate"><spanclass="pre">input_dims</span></code>
and returns a numpy array of length <codeclass="xref py py-attr docutils literal notranslate"><spanclass="pre">output_dims</span></code>.</p>
<codeclass="descname">transform_affine</code><spanclass="sig-paren">(</span><em>self</em>, <em>values</em><spanclass="sig-paren">)</span><aclass="reference internal" href="../_modules/matplotlib/transforms.html#AffineBase.transform_affine"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink" href="#matplotlib.transforms.AffineBase.transform_affine" title="Permalink to this definition">¶</a></dt>
<dd><p>Performs only the affine part of this transformation on the
given array of values.</p>
<p><codeclass="docutils literal notranslate"><spanclass="pre">transform(values)</span></code> is always equivalent to
<dt><strong>values</strong><spanclass="classifier">array</span></dt><dd><p>The input values as NumPy array of length <codeclass="xref py py-attr docutils literal notranslate"><spanclass="pre">input_dims</span></code> or
shape (N x <codeclass="xref py py-attr docutils literal notranslate"><spanclass="pre">input_dims</span></code>).</p>
</dd>
</dl>
</td>
</tr>
<trclass="field-even field"><thclass="field-name">Returns:</th><tdclass="field-body"><dlclass="first last docutils">
<dt><strong>values</strong><spanclass="classifier">array</span></dt><dd><p>The output values as NumPy array of length <codeclass="xref py py-attr docutils literal notranslate"><spanclass="pre">input_dims</span></code> or
shape (N x <codeclass="xref py py-attr docutils literal notranslate"><spanclass="pre">output_dims</span></code>), depending on the input.</p>
<codeclass="descname">transform_non_affine</code><spanclass="sig-paren">(</span><em>self</em>, <em>points</em><spanclass="sig-paren">)</span><aclass="reference internal" href="../_modules/matplotlib/transforms.html#AffineBase.transform_non_affine"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink" href="#matplotlib.transforms.AffineBase.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
<dt><strong>values</strong><spanclass="classifier">array</span></dt><dd><p>The input values as NumPy array of length <codeclass="xref py py-attr docutils literal notranslate"><spanclass="pre">input_dims</span></code> or
shape (N x <codeclass="xref py py-attr docutils literal notranslate"><spanclass="pre">input_dims</span></code>).</p>
</dd>
</dl>
</td>
</tr>
<trclass="field-even field"><thclass="field-name">Returns:</th><tdclass="field-body"><dlclass="first last docutils">
<dt><strong>values</strong><spanclass="classifier">array</span></dt><dd><p>The output values as NumPy array of length <codeclass="xref py py-attr docutils literal notranslate"><spanclass="pre">input_dims</span></code> or
shape (N x <codeclass="xref py py-attr docutils literal notranslate"><spanclass="pre">output_dims</span></code>), depending on the input.</p>
<codeclass="descname">transform_path</code><spanclass="sig-paren">(</span><em>self</em>, <em>path</em><spanclass="sig-paren">)</span><aclass="reference internal" href="../_modules/matplotlib/transforms.html#AffineBase.transform_path"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink" href="#matplotlib.transforms.AffineBase.transform_path" title="Permalink to this definition">¶</a></dt>
<codeclass="descname">transform_path_affine</code><spanclass="sig-paren">(</span><em>self</em>, <em>path</em><spanclass="sig-paren">)</span><aclass="reference internal" href="../_modules/matplotlib/transforms.html#AffineBase.transform_path_affine"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink" href="#matplotlib.transforms.AffineBase.transform_path_affine" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns a path, transformed only by the affine part of
<codeclass="descname">transform_path_non_affine</code><spanclass="sig-paren">(</span><em>self</em>, <em>path</em><spanclass="sig-paren">)</span><aclass="reference internal" href="../_modules/matplotlib/transforms.html#AffineBase.transform_path_non_affine"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink" href="#matplotlib.transforms.AffineBase.transform_path_non_affine" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns a path, transformed only by the non-affine
<emclass="property">class </em><codeclass="descclassname">matplotlib.transforms.</code><codeclass="descname">Bbox</code><spanclass="sig-paren">(</span><em>points</em>, <em>**kwargs</em><spanclass="sig-paren">)</span><aclass="reference internal" href="../_modules/matplotlib/transforms.html#Bbox"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink" href="#matplotlib.transforms.Bbox" title="Permalink to this definition">¶</a></dt>
<trclass="field-odd field"><thclass="field-name">Parameters:</th><tdclass="field-body"><dlclass="first last docutils">
<dt><strong>points</strong><spanclass="classifier">ndarray</span></dt><dd><p>A 2x2 numpy array of the form <codeclass="docutils literal notranslate"><spanclass="pre">[[x0,</span><spanclass="pre">y0],</span><spanclass="pre">[x1,</span><spanclass="pre">y1]]</span></code>.</p>
</dd>
</dl>
</td>
</tr>
</tbody>
</table>
<pclass="rubric">Notes</p>
<p>If you need to create a <aclass="reference internal" href="#matplotlib.transforms.Bbox" title="matplotlib.transforms.Bbox"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">Bbox</span></code></a> object from another form
of data, consider the static methods <aclass="reference internal" href="#matplotlib.transforms.Bbox.unit" title="matplotlib.transforms.Bbox.unit"><codeclass="xref py py-meth docutils literal notranslate"><spanclass="pre">unit()</span></code></a>,
<emclass="property">property </em><codeclass="descname">bounds</code><aclass="headerlink" href="#matplotlib.transforms.Bbox.bounds" title="Permalink to this definition">¶</a></dt>
<emclass="property">static </em><codeclass="descname">from_bounds</code><spanclass="sig-paren">(</span><em>x0</em>, <em>y0</em>, <em>width</em>, <em>height</em><spanclass="sig-paren">)</span><aclass="reference internal" href="../_modules/matplotlib/transforms.html#Bbox.from_bounds"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink" href="#matplotlib.transforms.Bbox.from_bounds" title="Permalink to this definition">¶</a></dt>
<dd><p>Create a new <aclass="reference internal" href="#matplotlib.transforms.Bbox" title="matplotlib.transforms.Bbox"><codeclass="xref py py-obj docutils literal notranslate"><spanclass="pre">Bbox</span></code></a> from <em>x0</em>, <em>y0</em>, <em>width</em> and <em>height</em>.</p>
<p><em>width</em> and <em>height</em> may be negative.</p>
</dd></dl>
<dlclass="method">
<dtid="matplotlib.transforms.Bbox.from_extents">
<emclass="property">static </em><codeclass="descname">from_extents</code><spanclass="sig-paren">(</span><em>*args</em><spanclass="sig-paren">)</span><aclass="reference internal" href="../_modules/matplotlib/transforms.html#Bbox.from_extents"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink" href="#matplotlib.transforms.Bbox.from_extents" title="Permalink to this definition">¶</a></dt>
<dd><p>Create a new Bbox from <em>left</em>, <em>bottom</em>, <em>right</em> and <em>top</em>.</p>
<p>The <em>y</em>-axis increases upwards.</p>
</dd></dl>
<dlclass="method">
<dtid="matplotlib.transforms.Bbox.get_points">
<codeclass="descname">get_points</code><spanclass="sig-paren">(</span><em>self</em><spanclass="sig-paren">)</span><aclass="reference internal" href="../_modules/matplotlib/transforms.html#Bbox.get_points"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink" href="#matplotlib.transforms.Bbox.get_points" title="Permalink to this definition">¶</a></dt>
<dd><p>Get the points of the bounding box directly as a numpy array
of the form: <codeclass="docutils literal notranslate"><spanclass="pre">[[x0,</span><spanclass="pre">y0],</span><spanclass="pre">[x1,</span><spanclass="pre">y1]]</span></code>.</p>
</dd></dl>
<dlclass="method">
<dtid="matplotlib.transforms.Bbox.ignore">
<codeclass="descname">ignore</code><spanclass="sig-paren">(</span><em>self</em>, <em>value</em><spanclass="sig-paren">)</span><aclass="reference internal" href="../_modules/matplotlib/transforms.html#Bbox.ignore"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink" href="#matplotlib.transforms.Bbox.ignore" title="Permalink to this definition">¶</a></dt>
<dd><p>Set whether the existing bounds of the box should be ignored
by subsequent calls to <aclass="reference internal" href="#matplotlib.transforms.Bbox.update_from_data_xy" title="matplotlib.transforms.Bbox.update_from_data_xy"><codeclass="xref py py-meth docutils literal notranslate"><spanclass="pre">update_from_data_xy()</span></code></a>.</p>
will ignore the existing bounds of the <aclass="reference internal" href="#matplotlib.transforms.Bbox" title="matplotlib.transforms.Bbox"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">Bbox</span></code></a>.</li>
will include the existing bounds of the <aclass="reference internal" href="#matplotlib.transforms.Bbox" title="matplotlib.transforms.Bbox"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">Bbox</span></code></a>.</li>
</ul>
</dd>
</dl>
</dd></dl>
<dlclass="method">
<dtid="matplotlib.transforms.Bbox.intervalx">
<emclass="property">property </em><codeclass="descname">intervalx</code><aclass="headerlink" href="#matplotlib.transforms.Bbox.intervalx" title="Permalink to this definition">¶</a></dt>
<dd><p>The pair of <em>x</em> coordinates that define the bounding box.</p>
<p>This is not guaranteed to be sorted from left to right.</p>
</dd></dl>
<dlclass="method">
<dtid="matplotlib.transforms.Bbox.intervaly">
<emclass="property">property </em><codeclass="descname">intervaly</code><aclass="headerlink" href="#matplotlib.transforms.Bbox.intervaly" title="Permalink to this definition">¶</a></dt>
<dd><p>The pair of <em>y</em> coordinates that define the bounding box.</p>
<p>This is not guaranteed to be sorted from bottom to top.</p>
</dd></dl>
<dlclass="method">
<dtid="matplotlib.transforms.Bbox.minpos">
<emclass="property">property </em><codeclass="descname">minpos</code><aclass="headerlink" href="#matplotlib.transforms.Bbox.minpos" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>
<dlclass="method">
<dtid="matplotlib.transforms.Bbox.minposx">
<emclass="property">property </em><codeclass="descname">minposx</code><aclass="headerlink" href="#matplotlib.transforms.Bbox.minposx" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>
<dlclass="method">
<dtid="matplotlib.transforms.Bbox.minposy">
<emclass="property">property </em><codeclass="descname">minposy</code><aclass="headerlink" href="#matplotlib.transforms.Bbox.minposy" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>
<dlclass="method">
<dtid="matplotlib.transforms.Bbox.mutated">
<codeclass="descname">mutated</code><spanclass="sig-paren">(</span><em>self</em><spanclass="sig-paren">)</span><aclass="reference internal" href="../_modules/matplotlib/transforms.html#Bbox.mutated"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink" href="#matplotlib.transforms.Bbox.mutated" title="Permalink to this definition">¶</a></dt>
<dd><p>Return whether the bbox has changed since init.</p>
</dd></dl>
<dlclass="method">
<dtid="matplotlib.transforms.Bbox.mutatedx">
<codeclass="descname">mutatedx</code><spanclass="sig-paren">(</span><em>self</em><spanclass="sig-paren">)</span><aclass="reference internal" href="../_modules/matplotlib/transforms.html#Bbox.mutatedx"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink" href="#matplotlib.transforms.Bbox.mutatedx" title="Permalink to this definition">¶</a></dt>
<dd><p>Return whether the x-limits have changed since init.</p>
</dd></dl>
<dlclass="method">
<dtid="matplotlib.transforms.Bbox.mutatedy">
<codeclass="descname">mutatedy</code><spanclass="sig-paren">(</span><em>self</em><spanclass="sig-paren">)</span><aclass="reference internal" href="../_modules/matplotlib/transforms.html#Bbox.mutatedy"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink" href="#matplotlib.transforms.Bbox.mutatedy" title="Permalink to this definition">¶</a></dt>
<dd><p>Return whether the y-limits have changed since init.</p>
</dd></dl>
<dlclass="method">
<dtid="matplotlib.transforms.Bbox.null">
<emclass="property">static </em><codeclass="descname">null</code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="reference internal" href="../_modules/matplotlib/transforms.html#Bbox.null"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink" href="#matplotlib.transforms.Bbox.null" title="Permalink to this definition">¶</a></dt>
<dd><p>Create a new null <aclass="reference internal" href="#matplotlib.transforms.Bbox" title="matplotlib.transforms.Bbox"><codeclass="xref py py-obj docutils literal notranslate"><spanclass="pre">Bbox</span></code></a> from (inf, inf) to (-inf, -inf).</p>
</dd></dl>
<dlclass="method">
<dtid="matplotlib.transforms.Bbox.p0">
<emclass="property">property </em><codeclass="descname">p0</code><aclass="headerlink" href="#matplotlib.transforms.Bbox.p0" title="Permalink to this definition">¶</a></dt>
<dd><p>The first pair of (<em>x</em>, <em>y</em>) coordinates that define the bounding box.</p>
<p>This is not guaranteed to be the bottom-left corner (for that, use
<emclass="property">property </em><codeclass="descname">p1</code><aclass="headerlink" href="#matplotlib.transforms.Bbox.p1" title="Permalink to this definition">¶</a></dt>
<dd><p>The second pair of (<em>x</em>, <em>y</em>) coordinates that define the bounding box.</p>
<p>This is not guaranteed to be the top-right corner (for that, use
<codeclass="descname">set</code><spanclass="sig-paren">(</span><em>self</em>, <em>other</em><spanclass="sig-paren">)</span><aclass="reference internal" href="../_modules/matplotlib/transforms.html#Bbox.set"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink" href="#matplotlib.transforms.Bbox.set" title="Permalink to this definition">¶</a></dt>
<dd><p>Set this bounding box from the "frozen" bounds of another <aclass="reference internal" href="#matplotlib.transforms.Bbox" title="matplotlib.transforms.Bbox"><codeclass="xref py py-obj docutils literal notranslate"><spanclass="pre">Bbox</span></code></a>.</p>
</dd></dl>
<dlclass="method">
<dtid="matplotlib.transforms.Bbox.set_points">
<codeclass="descname">set_points</code><spanclass="sig-paren">(</span><em>self</em>, <em>points</em><spanclass="sig-paren">)</span><aclass="reference internal" href="../_modules/matplotlib/transforms.html#Bbox.set_points"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink" href="#matplotlib.transforms.Bbox.set_points" title="Permalink to this definition">¶</a></dt>
<dd><p>Set the points of the bounding box directly from a numpy array
of the form: <codeclass="docutils literal notranslate"><spanclass="pre">[[x0,</span><spanclass="pre">y0],</span><spanclass="pre">[x1,</span><spanclass="pre">y1]]</span></code>. No error checking is
performed, as this method is mainly for internal use.</p>
</dd></dl>
<dlclass="method">
<dtid="matplotlib.transforms.Bbox.unit">
<emclass="property">static </em><codeclass="descname">unit</code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="reference internal" href="../_modules/matplotlib/transforms.html#Bbox.unit"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink" href="#matplotlib.transforms.Bbox.unit" title="Permalink to this definition">¶</a></dt>
<dd><p>Create a new unit <aclass="reference internal" href="#matplotlib.transforms.Bbox" title="matplotlib.transforms.Bbox"><codeclass="xref py py-obj docutils literal notranslate"><spanclass="pre">Bbox</span></code></a> from (0, 0) to (1, 1).</p>
<codeclass="descname">update_from_data_xy</code><spanclass="sig-paren">(</span><em>self</em>, <em>xy</em>, <em>ignore=None</em>, <em>updatex=True</em>, <em>updatey=True</em><spanclass="sig-paren">)</span><aclass="reference internal" href="../_modules/matplotlib/transforms.html#Bbox.update_from_data_xy"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink" href="#matplotlib.transforms.Bbox.update_from_data_xy" title="Permalink to this definition">¶</a></dt>
<dd><p>Update the bounds of the <aclass="reference internal" href="#matplotlib.transforms.Bbox" title="matplotlib.transforms.Bbox"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">Bbox</span></code></a> based on the passed in
data. After updating, the bounds will have positive <em>width</em>
and <em>height</em>; <em>x0</em> and <em>y0</em> will be the minimal values.</p>
<li>When <codeclass="docutils literal notranslate"><spanclass="pre">True</span></code>, ignore the existing bounds of the <aclass="reference internal" href="#matplotlib.transforms.Bbox" title="matplotlib.transforms.Bbox"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">Bbox</span></code></a>.</li>
<li>When <codeclass="docutils literal notranslate"><spanclass="pre">False</span></code>, include the existing bounds of the <aclass="reference internal" href="#matplotlib.transforms.Bbox" title="matplotlib.transforms.Bbox"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">Bbox</span></code></a>.</li>
<li>When <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>, use the last value passed to <aclass="reference internal" href="#matplotlib.transforms.Bbox.ignore" title="matplotlib.transforms.Bbox.ignore"><codeclass="xref py py-meth docutils literal notranslate"><spanclass="pre">ignore()</span></code></a>.</li>
</ul>
</dd>
<dt><strong>updatex, updatey</strong><spanclass="classifier">bool, optional</span></dt><dd><p>When <codeclass="docutils literal notranslate"><spanclass="pre">True</span></code>, update the x/y values.</p>
<codeclass="descname">update_from_path</code><spanclass="sig-paren">(</span><em>self</em>, <em>path</em>, <em>ignore=None</em>, <em>updatex=True</em>, <em>updatey=True</em><spanclass="sig-paren">)</span><aclass="reference internal" href="../_modules/matplotlib/transforms.html#Bbox.update_from_path"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink" href="#matplotlib.transforms.Bbox.update_from_path" title="Permalink to this definition">¶</a></dt>
<dd><p>Update the bounds of the <aclass="reference internal" href="#matplotlib.transforms.Bbox" title="matplotlib.transforms.Bbox"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">Bbox</span></code></a> based on the passed in
data. After updating, the bounds will have positive <em>width</em>
and <em>height</em>; <em>x0</em> and <em>y0</em> will be the minimal values.</p>
<li>when <codeclass="docutils literal notranslate"><spanclass="pre">True</span></code>, ignore the existing bounds of the <aclass="reference internal" href="#matplotlib.transforms.Bbox" title="matplotlib.transforms.Bbox"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">Bbox</span></code></a>.</li>
<li>when <codeclass="docutils literal notranslate"><spanclass="pre">False</span></code>, include the existing bounds of the <aclass="reference internal" href="#matplotlib.transforms.Bbox" title="matplotlib.transforms.Bbox"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">Bbox</span></code></a>.</li>
<li>when <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>, use the last value passed to <aclass="reference internal" href="#matplotlib.transforms.Bbox.ignore" title="matplotlib.transforms.Bbox.ignore"><codeclass="xref py py-meth docutils literal notranslate"><spanclass="pre">ignore()</span></code></a>.</li>
</ul>
</dd>
<dt><strong>updatex, updatey</strong><spanclass="classifier">bool, optional</span></dt><dd><p>When <codeclass="docutils literal notranslate"><spanclass="pre">True</span></code>, update the x/y values.</p>
</dd>
</dl>
</td>
</tr>
</tbody>
</table>
</dd></dl>
<dlclass="method">
<dtid="matplotlib.transforms.Bbox.x0">
<emclass="property">property </em><codeclass="descname">x0</code><aclass="headerlink" href="#matplotlib.transforms.Bbox.x0" title="Permalink to this definition">¶</a></dt>
<dd><p>The first of the pair of <em>x</em> coordinates that define the bounding box.</p>
<p>This is not guaranteed to be less than <aclass="reference internal" href="#matplotlib.transforms.Bbox.x1" title="matplotlib.transforms.Bbox.x1"><codeclass="xref py py-attr docutils literal notranslate"><spanclass="pre">x1</span></code></a> (for that, use
<emclass="property">property </em><codeclass="descname">x1</code><aclass="headerlink" href="#matplotlib.transforms.Bbox.x1" title="Permalink to this definition">¶</a></dt>
<dd><p>The second of the pair of <em>x</em> coordinates that define the bounding box.</p>
<p>This is not guaranteed to be greater than <aclass="reference internal" href="#matplotlib.transforms.Bbox.x0" title="matplotlib.transforms.Bbox.x0"><codeclass="xref py py-attr docutils literal notranslate"><spanclass="pre">x0</span></code></a> (for that, use
<emclass="property">property </em><codeclass="descname">y0</code><aclass="headerlink" href="#matplotlib.transforms.Bbox.y0" title="Permalink to this definition">¶</a></dt>
<dd><p>The first of the pair of <em>y</em> coordinates that define the bounding box.</p>
<p>This is not guaranteed to be less than <aclass="reference internal" href="#matplotlib.transforms.Bbox.y1" title="matplotlib.transforms.Bbox.y1"><codeclass="xref py py-attr docutils literal notranslate"><spanclass="pre">y1</span></code></a> (for that, use
<emclass="property">property </em><codeclass="descname">y1</code><aclass="headerlink" href="#matplotlib.transforms.Bbox.y1" title="Permalink to this definition">¶</a></dt>
<dd><p>The second of the pair of <em>y</em> coordinates that define the bounding box.</p>
<p>This is not guaranteed to be greater than <aclass="reference internal" href="#matplotlib.transforms.Bbox.y0" title="matplotlib.transforms.Bbox.y0"><codeclass="xref py py-attr docutils literal notranslate"><spanclass="pre">y0</span></code></a> (for that, use
<emclass="property">class </em><codeclass="descclassname">matplotlib.transforms.</code><codeclass="descname">BboxBase</code><spanclass="sig-paren">(</span><em>shorthand_name=None</em><spanclass="sig-paren">)</span><aclass="reference internal" href="../_modules/matplotlib/transforms.html#BboxBase"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink" href="#matplotlib.transforms.BboxBase" title="Permalink to this definition">¶</a></dt>
<p>This is the base class of all bounding boxes, and provides read-only access
to its data. A mutable bounding box is provided by the <aclass="reference internal" href="#matplotlib.transforms.Bbox" title="matplotlib.transforms.Bbox"><codeclass="xref py py-obj docutils literal notranslate"><spanclass="pre">Bbox</span></code></a> class.</p>
<p>The canonical representation is as two points, with no
restrictions on their ordering. Convenience properties are
provided to get the left, bottom, right and top edges and width
and height, but these are not stored explicitly.</p>
<p>Creates a new <aclass="reference internal" href="#matplotlib.transforms.TransformNode" title="matplotlib.transforms.TransformNode"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">TransformNode</span></code></a>.</p>
<trclass="field-odd field"><thclass="field-name">Parameters:</th><tdclass="field-body"><dlclass="first last docutils">
<dt><strong>shorthand_name</strong><spanclass="classifier">str</span></dt><dd><p>A string representing the "name" of the transform. The name carries
no significance other than to improve the readability of
<codeclass="docutils literal notranslate"><spanclass="pre">str(transform)</span></code> when DEBUG=True.</p>
</dd>
</dl>
</td>
</tr>
</tbody>
</table>
<dlclass="method">
<dtid="matplotlib.transforms.BboxBase.anchored">
<codeclass="descname">anchored</code><spanclass="sig-paren">(</span><em>self</em>, <em>c</em>, <em>container=None</em><spanclass="sig-paren">)</span><aclass="reference internal" href="../_modules/matplotlib/transforms.html#BboxBase.anchored"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink" href="#matplotlib.transforms.BboxBase.anchored" title="Permalink to this definition">¶</a></dt>
<dd><p>Return a copy of the <aclass="reference internal" href="#matplotlib.transforms.Bbox" title="matplotlib.transforms.Bbox"><codeclass="xref py py-obj docutils literal notranslate"><spanclass="pre">Bbox</span></code></a> shifted to position <em>c</em> within <em>container</em>.</p>
<trclass="field-odd field"><thclass="field-name">Parameters:</th><tdclass="field-body"><dlclass="first last docutils">
<dt><strong>c</strong><spanclass="classifier">(float, float) or str</span></dt><dd><p>May be either:</p>
<ulclass="simple">
<li>A sequence (<em>cx</em>, <em>cy</em>) where <em>cx</em> and <em>cy</em> range from 0
to 1, where 0 is left or bottom and 1 is right or top</li>
<li>a string:
- 'C' for centered
- 'S' for bottom-center
- 'SE' for bottom-left
- 'E' for left
- etc.</li>
</ul>
</dd>
<dt><strong>container</strong><spanclass="classifier">Bbox, optional</span></dt><dd><p>The box within which the <aclass="reference internal" href="#matplotlib.transforms.Bbox" title="matplotlib.transforms.Bbox"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">Bbox</span></code></a> is positioned; it defaults
to the initial <aclass="reference internal" href="#matplotlib.transforms.Bbox" title="matplotlib.transforms.Bbox"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">Bbox</span></code></a>.</p>
</dd>
</dl>
</td>
</tr>
</tbody>
</table>
</dd></dl>
<dlclass="method">
<dtid="matplotlib.transforms.BboxBase.bounds">
<emclass="property">property </em><codeclass="descname">bounds</code><aclass="headerlink" href="#matplotlib.transforms.BboxBase.bounds" title="Permalink to this definition">¶</a></dt>
<codeclass="descname">contains</code><spanclass="sig-paren">(</span><em>self</em>, <em>x</em>, <em>y</em><spanclass="sig-paren">)</span><aclass="reference internal" href="../_modules/matplotlib/transforms.html#BboxBase.contains"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink" href="#matplotlib.transforms.BboxBase.contains" title="Permalink to this definition">¶</a></dt>
<dd><p>Return whether <codeclass="docutils literal notranslate"><spanclass="pre">(x,</span><spanclass="pre">y)</span></code> is in the bounding box or on its edge.</p>
</dd></dl>
<dlclass="method">
<dtid="matplotlib.transforms.BboxBase.containsx">
<codeclass="descname">containsx</code><spanclass="sig-paren">(</span><em>self</em>, <em>x</em><spanclass="sig-paren">)</span><aclass="reference internal" href="../_modules/matplotlib/transforms.html#BboxBase.containsx"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink" href="#matplotlib.transforms.BboxBase.containsx" title="Permalink to this definition">¶</a></dt>
<dd><p>Return whether <em>x</em> is in the closed (<aclass="reference internal" href="#matplotlib.transforms.BboxBase.x0" title="matplotlib.transforms.BboxBase.x0"><codeclass="xref py py-attr docutils literal notranslate"><spanclass="pre">x0</span></code></a>, <aclass="reference internal" href="#matplotlib.transforms.BboxBase.x1" title="matplotlib.transforms.BboxBase.x1"><codeclass="xref py py-attr docutils literal notranslate"><spanclass="pre">x1</span></code></a>) interval.</p>
</dd></dl>
<dlclass="method">
<dtid="matplotlib.transforms.BboxBase.containsy">
<codeclass="descname">containsy</code><spanclass="sig-paren">(</span><em>self</em>, <em>y</em><spanclass="sig-paren">)</span><aclass="reference internal" href="../_modules/matplotlib/transforms.html#BboxBase.containsy"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink" href="#matplotlib.transforms.BboxBase.containsy" title="Permalink to this definition">¶</a></dt>
<dd><p>Return whether <em>y</em> is in the closed (<aclass="reference internal" href="#matplotlib.transforms.BboxBase.y0" title="matplotlib.transforms.BboxBase.y0"><codeclass="xref py py-attr docutils literal notranslate"><spanclass="pre">y0</span></code></a>, <aclass="reference internal" href="#matplotlib.transforms.BboxBase.y1" title="matplotlib.transforms.BboxBase.y1"><codeclass="xref py py-attr docutils literal notranslate"><spanclass="pre">y1</span></code></a>) interval.</p>
</dd></dl>
<dlclass="method">
<dtid="matplotlib.transforms.BboxBase.corners">
<codeclass="descname">corners</code><spanclass="sig-paren">(</span><em>self</em><spanclass="sig-paren">)</span><aclass="reference internal" href="../_modules/matplotlib/transforms.html#BboxBase.corners"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink" href="#matplotlib.transforms.BboxBase.corners" title="Permalink to this definition">¶</a></dt>
<dd><p>Return the corners of this rectangle as an array of points.</p>
<codeclass="descname">count_contains</code><spanclass="sig-paren">(</span><em>self</em>, <em>vertices</em><spanclass="sig-paren">)</span><aclass="reference internal" href="../_modules/matplotlib/transforms.html#BboxBase.count_contains"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink" href="#matplotlib.transforms.BboxBase.count_contains" title="Permalink to this definition">¶</a></dt>
<dd><p>Count the number of vertices contained in the <aclass="reference internal" href="#matplotlib.transforms.Bbox" title="matplotlib.transforms.Bbox"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">Bbox</span></code></a>.
Any vertices with a non-finite x or y value are ignored.</p>
<codeclass="descname">count_overlaps</code><spanclass="sig-paren">(</span><em>self</em>, <em>bboxes</em><spanclass="sig-paren">)</span><aclass="reference internal" href="../_modules/matplotlib/transforms.html#BboxBase.count_overlaps"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink" href="#matplotlib.transforms.BboxBase.count_overlaps" title="Permalink to this definition">¶</a></dt>
<dd><p>Count the number of bounding boxes that overlap this one.</p>
<codeclass="descname">expanded</code><spanclass="sig-paren">(</span><em>self</em>, <em>sw</em>, <em>sh</em><spanclass="sig-paren">)</span><aclass="reference internal" href="../_modules/matplotlib/transforms.html#BboxBase.expanded"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink" href="#matplotlib.transforms.BboxBase.expanded" title="Permalink to this definition">¶</a></dt>
<dd><p>Construct a <aclass="reference internal" href="#matplotlib.transforms.Bbox" title="matplotlib.transforms.Bbox"><codeclass="xref py py-obj docutils literal notranslate"><spanclass="pre">Bbox</span></code></a> by expanding this one around its center by the
factors <em>sw</em> and <em>sh</em>.</p>
</dd></dl>
<dlclass="method">
<dtid="matplotlib.transforms.BboxBase.extents">
<emclass="property">property </em><codeclass="descname">extents</code><aclass="headerlink" href="#matplotlib.transforms.BboxBase.extents" title="Permalink to this definition">¶</a></dt>
<codeclass="descname">frozen</code><spanclass="sig-paren">(</span><em>self</em><spanclass="sig-paren">)</span><aclass="reference internal" href="../_modules/matplotlib/transforms.html#BboxBase.frozen"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink" href="#matplotlib.transforms.BboxBase.frozen" title="Permalink to this definition">¶</a></dt>
<dd><p><aclass="reference internal" href="#matplotlib.transforms.TransformNode" title="matplotlib.transforms.TransformNode"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">TransformNode</span></code></a> is the base class for anything that
participates in the transform tree and needs to invalidate its
parents or be invalidated. This includes classes that are not
really transforms, such as bounding boxes, since some transforms
depend on bounding boxes to compute their values.</p>
<codeclass="descname">fully_contains</code><spanclass="sig-paren">(</span><em>self</em>, <em>x</em>, <em>y</em><spanclass="sig-paren">)</span><aclass="reference internal" href="../_modules/matplotlib/transforms.html#BboxBase.fully_contains"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink" href="#matplotlib.transforms.BboxBase.fully_contains" title="Permalink to this definition">¶</a></dt>
<dd><p>Return whether <codeclass="docutils literal notranslate"><spanclass="pre">x,</span><spanclass="pre">y</span></code> is in the bounding box, but not on its edge.</p>
<codeclass="descname">fully_containsx</code><spanclass="sig-paren">(</span><em>self</em>, <em>x</em><spanclass="sig-paren">)</span><aclass="reference internal" href="../_modules/matplotlib/transforms.html#BboxBase.fully_containsx"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink" href="#matplotlib.transforms.BboxBase.fully_containsx" title="Permalink to this definition">¶</a></dt>
<dd><p>Return whether <em>x</em> is in the open (<aclass="reference internal" href="#matplotlib.transforms.BboxBase.x0" title="matplotlib.transforms.BboxBase.x0"><codeclass="xref py py-attr docutils literal notranslate"><spanclass="pre">x0</span></code></a>, <aclass="reference internal" href="#matplotlib.transforms.BboxBase.x1" title="matplotlib.transforms.BboxBase.x1"><codeclass="xref py py-attr docutils literal notranslate"><spanclass="pre">x1</span></code></a>) interval.</p>
<codeclass="descname">fully_containsy</code><spanclass="sig-paren">(</span><em>self</em>, <em>y</em><spanclass="sig-paren">)</span><aclass="reference internal" href="../_modules/matplotlib/transforms.html#BboxBase.fully_containsy"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink" href="#matplotlib.transforms.BboxBase.fully_containsy" title="Permalink to this definition">¶</a></dt>
<dd><p>Return whether <em>y</em> is in the open (<aclass="reference internal" href="#matplotlib.transforms.BboxBase.y0" title="matplotlib.transforms.BboxBase.y0"><codeclass="xref py py-attr docutils literal notranslate"><spanclass="pre">y0</span></code></a>, <aclass="reference internal" href="#matplotlib.transforms.BboxBase.y1" title="matplotlib.transforms.BboxBase.y1"><codeclass="xref py py-attr docutils literal notranslate"><spanclass="pre">y1</span></code></a>) interval.</p>
<codeclass="descname">fully_overlaps</code><spanclass="sig-paren">(</span><em>self</em>, <em>other</em><spanclass="sig-paren">)</span><aclass="reference internal" href="../_modules/matplotlib/transforms.html#BboxBase.fully_overlaps"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink" href="#matplotlib.transforms.BboxBase.fully_overlaps" title="Permalink to this definition">¶</a></dt>
<dd><p>Return whether this bounding box overlaps with the other bounding box,
<codeclass="descname">get_points</code><spanclass="sig-paren">(</span><em>self</em><spanclass="sig-paren">)</span><aclass="reference internal" href="../_modules/matplotlib/transforms.html#BboxBase.get_points"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink" href="#matplotlib.transforms.BboxBase.get_points" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>
<dlclass="method">
<dtid="matplotlib.transforms.BboxBase.height">
<emclass="property">property </em><codeclass="descname">height</code><aclass="headerlink" href="#matplotlib.transforms.BboxBase.height" title="Permalink to this definition">¶</a></dt>
<dd><p>The (signed) height of the bounding box.</p>
<emclass="property">static </em><codeclass="descname">intersection</code><spanclass="sig-paren">(</span><em>bbox1</em>, <em>bbox2</em><spanclass="sig-paren">)</span><aclass="reference internal" href="../_modules/matplotlib/transforms.html#BboxBase.intersection"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink" href="#matplotlib.transforms.BboxBase.intersection" title="Permalink to this definition">¶</a></dt>
<dd><p>Return the intersection of <em>bbox1</em> and <em>bbox2</em> if they intersect, or