<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/artist_api.html">https://matplotlib.org/stable/api/artist_api.html</a></div>
<spanid="artist-api"></span><h1><codeclass="docutils literal notranslate"><spanclass="pre">matplotlib.artist</span></code><aclass="headerlink" href="#matplotlib-artist" title="Permalink to this headline">¶</a></h1>
<h2><codeclass="docutils literal notranslate"><spanclass="pre">Artist</span></code> class<aclass="headerlink" href="#artist-class" title="Permalink to this headline">¶</a></h2>
<dlclass="class">
<dtid="matplotlib.artist.Artist">
<emclass="property">class </em><codeclass="descclassname">matplotlib.artist.</code><codeclass="descname">Artist</code><aclass="reference internal" href="../_modules/matplotlib/artist.html#Artist"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink" href="#matplotlib.artist.Artist" title="Permalink to this definition">¶</a></dt>
<dd><p>Abstract base class for objects that render into a FigureCanvas.</p>
<p>Typically, all visible elements in a figure are subclasses of Artist.</p>
</dd></dl>
<divclass="section" id="interactive">
<h3>Interactive<aclass="headerlink" href="#interactive" title="Permalink to this headline">¶</a></h3>
<td>Add a callback function that will be called whenever one of the <aclass="reference internal" href="#matplotlib.artist.Artist" title="matplotlib.artist.Artist"><codeclass="xref py py-obj docutils literal notranslate"><spanclass="pre">Artist</span></code></a>'s properties changes.</td>
<td>The <aclass="reference internal" href="axes_api.html#matplotlib.axes.Axes" title="matplotlib.axes.Axes"><codeclass="xref py py-obj docutils literal notranslate"><spanclass="pre">Axes</span></code></a> instance the artist resides in, or <em>None</em>.</td>
<td>Return a list of the child <aclass="reference internal" href="#matplotlib.artist.Artist" title="matplotlib.artist.Artist"><codeclass="xref py py-obj docutils literal notranslate"><spanclass="pre">Artist</span></code></a>s of this <aclass="reference internal" href="#matplotlib.artist.Artist" title="matplotlib.artist.Artist"><codeclass="xref py py-obj docutils literal notranslate"><spanclass="pre">Artist</span></code></a>.</td>
<td>Return the <aclass="reference internal" href="transformations.html#matplotlib.transforms.Transform" title="matplotlib.transforms.Transform"><codeclass="xref py py-obj docutils literal notranslate"><spanclass="pre">Transform</span></code></a> instance used by this artist.</td>
<td>Return boolean flag, <codeclass="docutils literal notranslate"><spanclass="pre">True</span></code> if artist is included in layout calculations.</td>
<td>Inspect an <aclass="reference internal" href="#matplotlib.artist.Artist" title="matplotlib.artist.Artist"><codeclass="xref py py-obj docutils literal notranslate"><spanclass="pre">Artist</span></code></a> class (using <aclass="reference internal" href="_as_gen/matplotlib.artist.ArtistInspector.html#matplotlib.artist.ArtistInspector" title="matplotlib.artist.ArtistInspector"><codeclass="xref py py-obj docutils literal notranslate"><spanclass="pre">ArtistInspector</span></code></a>) and return information about its settable properties and their current values.</td>
<td>A helper class to inspect an <aclass="reference internal" href="#matplotlib.artist.Artist" title="matplotlib.artist.Artist"><codeclass="xref py py-obj docutils literal notranslate"><spanclass="pre">Artist</span></code></a> and return information about its settable properties and their current values.</td>