<divid="unreleased-message"> You are reading an old version of the documentation (v2.2.4). For the latest version see <ahref="https://matplotlib.org/stable/api/patheffects_api.html">https://matplotlib.org/stable/api/patheffects_api.html</a></div>
<emclass="property">class </em><codeclass="descclassname">matplotlib.patheffects.</code><codeclass="descname">AbstractPathEffect</code><spanclass="sig-paren">(</span><em>offset=(0.0</em>, <em>0.0)</em><spanclass="sig-paren">)</span><aclass="reference internal" href="../_modules/matplotlib/patheffects.html#AbstractPathEffect"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink" href="#matplotlib.patheffects.AbstractPathEffect" title="Permalink to this definition">¶</a></dt>
<codeclass="descname">draw_path</code><spanclass="sig-paren">(</span><em>renderer</em>, <em>gc</em>, <em>tpath</em>, <em>affine</em>, <em>rgbFace=None</em><spanclass="sig-paren">)</span><aclass="reference internal" href="../_modules/matplotlib/patheffects.html#AbstractPathEffect.draw_path"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink" href="#matplotlib.patheffects.AbstractPathEffect.draw_path" title="Permalink to this definition">¶</a></dt>
<dd><p>Derived should override this method. The arguments are the same
as <aclass="reference internal" href="backend_bases_api.html#matplotlib.backend_bases.RendererBase.draw_path" title="matplotlib.backend_bases.RendererBase.draw_path"><codeclass="xref py py-meth docutils literal notranslate"><spanclass="pre">matplotlib.backend_bases.RendererBase.draw_path()</span></code></a>
except the first argument is a renderer.</p>
</dd></dl>
</dd></dl>
<dlclass="class">
<dtid="matplotlib.patheffects.Normal">
<emclass="property">class </em><codeclass="descclassname">matplotlib.patheffects.</code><codeclass="descname">Normal</code><spanclass="sig-paren">(</span><em>offset=(0.0</em>, <em>0.0)</em><spanclass="sig-paren">)</span><aclass="reference internal" href="../_modules/matplotlib/patheffects.html#Normal"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink" href="#matplotlib.patheffects.Normal" title="Permalink to this definition">¶</a></dt>
<emclass="property">class </em><codeclass="descclassname">matplotlib.patheffects.</code><codeclass="descname">PathEffectRenderer</code><spanclass="sig-paren">(</span><em>path_effects</em>, <em>renderer</em><spanclass="sig-paren">)</span><aclass="reference internal" href="../_modules/matplotlib/patheffects.html#PathEffectRenderer"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink" href="#matplotlib.patheffects.PathEffectRenderer" title="Permalink to this definition">¶</a></dt>
<codeclass="descname">copy_with_path_effect</code><spanclass="sig-paren">(</span><em>path_effects</em><spanclass="sig-paren">)</span><aclass="reference internal" href="../_modules/matplotlib/patheffects.html#PathEffectRenderer.copy_with_path_effect"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink" href="#matplotlib.patheffects.PathEffectRenderer.copy_with_path_effect" title="Permalink to this definition">¶</a></dt>
<codeclass="descname">draw_markers</code><spanclass="sig-paren">(</span><em>gc</em>, <em>marker_path</em>, <em>marker_trans</em>, <em>path</em>, <em>*args</em>, <em>**kwargs</em><spanclass="sig-paren">)</span><aclass="reference internal" href="../_modules/matplotlib/patheffects.html#PathEffectRenderer.draw_markers"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink" href="#matplotlib.patheffects.PathEffectRenderer.draw_markers" title="Permalink to this definition">¶</a></dt>
<dd><p>Draws a marker at each of the vertices in path. This includes
all vertices, including control points on curves. To avoid
that behavior, those vertices should be removed before calling
this function.</p>
<p>This provides a fallback implementation of draw_markers that
makes multiple calls to <aclass="reference internal" href="#matplotlib.patheffects.PathEffectRenderer.draw_path" title="matplotlib.patheffects.PathEffectRenderer.draw_path"><codeclass="xref py py-meth docutils literal notranslate"><spanclass="pre">draw_path()</span></code></a>. Some backends may
want to override this method in order to draw the marker only
<codeclass="descname">draw_path</code><spanclass="sig-paren">(</span><em>gc</em>, <em>tpath</em>, <em>affine</em>, <em>rgbFace=None</em><spanclass="sig-paren">)</span><aclass="reference internal" href="../_modules/matplotlib/patheffects.html#PathEffectRenderer.draw_path"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink" href="#matplotlib.patheffects.PathEffectRenderer.draw_path" title="Permalink to this definition">¶</a></dt>
<dd><p>Draws a <aclass="reference internal" href="path_api.html#matplotlib.path.Path" title="matplotlib.path.Path"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">Path</span></code></a> instance using the
<codeclass="descname">draw_path_collection</code><spanclass="sig-paren">(</span><em>gc</em>, <em>master_transform</em>, <em>paths</em>, <em>*args</em>, <em>**kwargs</em><spanclass="sig-paren">)</span><aclass="reference internal" href="../_modules/matplotlib/patheffects.html#PathEffectRenderer.draw_path_collection"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink" href="#matplotlib.patheffects.PathEffectRenderer.draw_path_collection" title="Permalink to this definition">¶</a></dt>
<dd><p>Draws a collection of paths selecting drawing properties from
the lists <em>facecolors</em>, <em>edgecolors</em>, <em>linewidths</em>,
<em>linestyles</em> and <em>antialiaseds</em>. <em>offsets</em> is a list of
offsets to apply to each of the paths. The offsets in
<em>offsets</em> are first transformed by <em>offsetTrans</em> before being
applied. <em>offset_position</em> may be either "screen" or "data"
depending on the space that the offsets are in.</p>
<p>This provides a fallback implementation of
<aclass="reference internal" href="#matplotlib.patheffects.PathEffectRenderer.draw_path_collection" title="matplotlib.patheffects.PathEffectRenderer.draw_path_collection"><codeclass="xref py py-meth docutils literal notranslate"><spanclass="pre">draw_path_collection()</span></code></a> that makes multiple calls to
<aclass="reference internal" href="#matplotlib.patheffects.PathEffectRenderer.draw_path" title="matplotlib.patheffects.PathEffectRenderer.draw_path"><codeclass="xref py py-meth docutils literal notranslate"><spanclass="pre">draw_path()</span></code></a>. Some backends may want to override this in
order to render each set of path data only once, and then
reference that path multiple times with the different offsets,
colors, styles etc. The generator methods
<codeclass="xref py py-meth docutils literal notranslate"><spanclass="pre">_iter_collection_raw_paths()</span></code> and
<codeclass="xref py py-meth docutils literal notranslate"><spanclass="pre">_iter_collection()</span></code> are provided to help with (and
standardize) the implementation across backends. It is highly
recommended to use those generators, so that changes to the
behavior of <aclass="reference internal" href="#matplotlib.patheffects.PathEffectRenderer.draw_path_collection" title="matplotlib.patheffects.PathEffectRenderer.draw_path_collection"><codeclass="xref py py-meth docutils literal notranslate"><spanclass="pre">draw_path_collection()</span></code></a> can be made globally.</p>
<codeclass="descname">new_gc</code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="reference internal" href="../_modules/matplotlib/patheffects.html#PathEffectRenderer.new_gc"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink" href="#matplotlib.patheffects.PathEffectRenderer.new_gc" title="Permalink to this definition">¶</a></dt>
<dd><p>Return an instance of a <codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">GraphicsContextBase</span></code></p>
<codeclass="descname">points_to_pixels</code><spanclass="sig-paren">(</span><em>points</em><spanclass="sig-paren">)</span><aclass="reference internal" href="../_modules/matplotlib/patheffects.html#PathEffectRenderer.points_to_pixels"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink" href="#matplotlib.patheffects.PathEffectRenderer.points_to_pixels" title="Permalink to this definition">¶</a></dt>
<dd><p>Convert points to display units</p>
<p>You need to override this function (unless your backend
doesn't have a dpi, e.g., postscript or svg). Some imaging
systems assume some value for pixels per inch:</p>
<dd><pclass="first last">A scale factor to apply to the rgbFace color if <codeclass="xref py py-obj docutils literal notranslate"><spanclass="pre">shadow_rgbFace</span></code>
is <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>. Default is 0.3.</p>
</dd>
<dt><strong>**kwargs</strong></dt>
<dd><pclass="first last">Extra keywords are stored and passed through to
<dd><pclass="first last">A scale factor to apply to the rgbFace color if <codeclass="xref py py-obj docutils literal notranslate"><spanclass="pre">shadow_rgbFace</span></code>
is not specified. Default is 0.3.</p>
</dd>
<dt><strong>**kwargs</strong></dt>
<dd><pclass="first last">Extra keywords are stored and passed through to
<p>Adds a simple <aclass="reference internal" href="#matplotlib.patheffects.SimplePatchShadow" title="matplotlib.patheffects.SimplePatchShadow"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">SimplePatchShadow</span></code></a> and then draws the
original Artist to avoid needing to call <aclass="reference internal" href="#matplotlib.patheffects.Normal" title="matplotlib.patheffects.Normal"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">Normal</span></code></a>.</p>
<dd><pclass="first last">A scale factor to apply to the rgbFace color if <codeclass="xref py py-obj docutils literal notranslate"><spanclass="pre">shadow_rgbFace</span></code>
is not specified. Default is 0.3.</p>
</dd>
<dt><strong>**kwargs</strong></dt>
<dd><pclass="first last">Extra keywords are stored and passed through to
<p>Adds a simple <aclass="reference internal" href="#matplotlib.patheffects.Stroke" title="matplotlib.patheffects.Stroke"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">Stroke</span></code></a> and then draws the
original Artist to avoid needing to call <aclass="reference internal" href="#matplotlib.patheffects.Normal" title="matplotlib.patheffects.Normal"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">Normal</span></code></a>.</p>
<p>The path will be stroked with its gc updated with the given
keyword arguments, i.e., the keyword arguments should be valid