<h1>path<aclass="headerlink" href="#path" title="Permalink to this headline">¶</a></h1>
<divclass="section" id="module-matplotlib.path">
<spanid="matplotlib-path"></span><h2><aclass="reference internal" href="#module-matplotlib.path" title="matplotlib.path"><ttclass="xref py py-mod docutils literal"><spanclass="pre">matplotlib.path</span></tt></a><aclass="headerlink" href="#module-matplotlib.path" title="Permalink to this headline">¶</a></h2>
<p>Contains a class for managing paths (polylines).</p>
<dlclass="class">
<dtid="matplotlib.path.Path">
<emclass="property">class </em><ttclass="descclassname">matplotlib.path.</tt><ttclass="descname">Path</tt><big>(</big><em>vertices</em>, <em>codes=None</em>, <em>_interpolation_steps=1</em>, <em>closed=False</em><big>)</big><aclass="headerlink" href="#matplotlib.path.Path" title="Permalink to this definition">¶</a></dt>
<p><aclass="reference internal" href="#matplotlib.path.Path" title="matplotlib.path.Path"><ttclass="xref py py-class docutils literal"><spanclass="pre">Path</span></tt></a> represents a series of possibly disconnected,
possibly closed, line and curve segments.</p>
<dlclass="docutils">
<dt>The underlying storage is made up of two parallel numpy arrays:</dt>
<dd><ulclass="first last simple">
<li><em>vertices</em>: an Nx2 float array of vertices</li>
<li><em>codes</em>: an N-length uint8 array of vertex types</li>
</ul>
</dd>
</dl>
<p>These two arrays always have the same length in the first
dimension. For example, to represent a cubic curve, you must
provide three vertices as well as three codes <ttclass="docutils literal"><spanclass="pre">CURVE3</span></tt>.</p>
<dd><pclass="first last">Draw a line from the current position to the given vertex.</p>
</dd>
</dl>
</li>
<li><dlclass="first docutils">
<dt><ttclass="docutils literal"><spanclass="pre">CURVE3</span></tt><spanclass="classifier-delimiter">:</span><spanclass="classifier">1 control point, 1 endpoint</span></dt>
<dd><pclass="first last">Draw a quadratic Bezier curve from the current position,
with the given control point, to the given end point.</p>
</dd>
</dl>
</li>
<li><dlclass="first docutils">
<dt><ttclass="docutils literal"><spanclass="pre">CURVE4</span></tt><spanclass="classifier-delimiter">:</span><spanclass="classifier">2 control points, 1 endpoint</span></dt>
<dd><pclass="first last">Draw a cubic Bezier curve from the current position, with
the given control points, to the given end point.</p>
<dd><pclass="first last">Draw a line segment to the start point of the current
polyline.</p>
</dd>
</dl>
</li>
</ul>
</div></blockquote>
<p>Users of Path objects should not access the vertices and codes
arrays directly. Instead, they should use <aclass="reference internal" href="#matplotlib.path.Path.iter_segments" title="matplotlib.path.Path.iter_segments"><ttclass="xref py py-meth docutils literal"><spanclass="pre">iter_segments()</span></tt></a>
to get the vertex/code pairs. This is important, since many
<aclass="reference internal" href="#matplotlib.path.Path" title="matplotlib.path.Path"><ttclass="xref py py-class docutils literal"><spanclass="pre">Path</span></tt></a> objects, as an optimization, do not store a <em>codes</em>
at all, but have a default one provided for them by
<p><em>interpolation_steps</em> is used as a hint to certain projections,
such as Polar, that this path should be linearly interpolated
immediately before drawing. This attribute is primarily an
implementation detail and is not intended for public use.</p>
<dlclass="attribute">
<dtid="matplotlib.path.Path.CLOSEPOLY">
<ttclass="descname">CLOSEPOLY</tt><emclass="property"> = 79</em><aclass="headerlink" href="#matplotlib.path.Path.CLOSEPOLY" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>
<dlclass="attribute">
<dtid="matplotlib.path.Path.CURVE3">
<ttclass="descname">CURVE3</tt><emclass="property"> = 3</em><aclass="headerlink" href="#matplotlib.path.Path.CURVE3" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>
<dlclass="attribute">
<dtid="matplotlib.path.Path.CURVE4">
<ttclass="descname">CURVE4</tt><emclass="property"> = 4</em><aclass="headerlink" href="#matplotlib.path.Path.CURVE4" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>
<dlclass="attribute">
<dtid="matplotlib.path.Path.LINETO">
<ttclass="descname">LINETO</tt><emclass="property"> = 2</em><aclass="headerlink" href="#matplotlib.path.Path.LINETO" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>
<dlclass="attribute">
<dtid="matplotlib.path.Path.MOVETO">
<ttclass="descname">MOVETO</tt><emclass="property"> = 1</em><aclass="headerlink" href="#matplotlib.path.Path.MOVETO" title="Permalink to this definition">¶</a></dt>
<ttclass="descname">STOP</tt><emclass="property"> = 0</em><aclass="headerlink" href="#matplotlib.path.Path.STOP" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>
<dlclass="classmethod">
<dtid="matplotlib.path.Path.arc">
<emclass="property">classmethod </em><ttclass="descname">arc</tt><big>(</big><em>theta1</em>, <em>theta2</em>, <em>n=None</em>, <em>is_wedge=False</em><big>)</big><aclass="headerlink" href="#matplotlib.path.Path.arc" title="Permalink to this definition">¶</a></dt>
<dd><p>(staticmethod) Returns an arc on the unit circle from angle
<em>theta1</em> to angle <em>theta2</em> (in degrees).</p>
<p>If <em>n</em> is provided, it is the number of spline segments to make.
If <em>n</em> is not provided, the number of spline segments is
determined based on the delta between <em>theta1</em> and <em>theta2</em>.</p>
<blockquote>
<div>Masionobe, L. 2003. <aclass="reference external" href="http://www.spaceroots.org/documents/ellipse/index.html">Drawing an elliptical arc using
polylines, quadratic or cubic Bezier curves</a>.</div></blockquote>
</dd></dl>
<dlclass="method">
<dtid="matplotlib.path.Path.clip_to_bbox">
<ttclass="descname">clip_to_bbox</tt><big>(</big><em>bbox</em>, <em>inside=True</em><big>)</big><aclass="headerlink" href="#matplotlib.path.Path.clip_to_bbox" title="Permalink to this definition">¶</a></dt>
<dd><p>Clip the path to the given bounding box.</p>
<p>The path must be made up of one or more closed polygons. This
algorithm will not behave correctly for unclosed paths.</p>
<p>If <em>inside</em> is <ttclass="xref py py-obj docutils literal"><spanclass="pre">True</span></tt>, clip to the inside of the box, otherwise
to the outside of the box.</p>
</dd></dl>
<dlclass="attribute">
<dtid="matplotlib.path.Path.code_type">
<ttclass="descname">code_type</tt><aclass="headerlink" href="#matplotlib.path.Path.code_type" title="Permalink to this definition">¶</a></dt>
<dd><p>alias of <ttclass="xref py py-class docutils literal"><spanclass="pre">uint8</span></tt></p>
</dd></dl>
<dlclass="method">
<dtid="matplotlib.path.Path.contains_path">
<ttclass="descname">contains_path</tt><big>(</big><em>path</em>, <em>transform=None</em><big>)</big><aclass="headerlink" href="#matplotlib.path.Path.contains_path" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns <em>True</em> if this path completely contains the given path.</p>
<p>If <em>transform</em> is not <em>None</em>, the path will be transformed
before performing the test.</p>
</dd></dl>
<dlclass="method">
<dtid="matplotlib.path.Path.contains_point">
<ttclass="descname">contains_point</tt><big>(</big><em>point</em>, <em>transform=None</em>, <em>radius=0.0</em><big>)</big><aclass="headerlink" href="#matplotlib.path.Path.contains_point" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns <em>True</em> if the path contains the given point.</p>
<p>If <em>transform</em> is not <em>None</em>, the path will be transformed
before performing the test.</p>
<p><em>radius</em> allows the path to be made slightly larger or
smaller.</p>
</dd></dl>
<dlclass="method">
<dtid="matplotlib.path.Path.contains_points">
<ttclass="descname">contains_points</tt><big>(</big><em>points</em>, <em>transform=None</em>, <em>radius=0.0</em><big>)</big><aclass="headerlink" href="#matplotlib.path.Path.contains_points" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns a bool array which is <em>True</em> if the path contains the
corresponding point.</p>
<p>If <em>transform</em> is not <em>None</em>, the path will be transformed
before performing the test.</p>
<p><em>radius</em> allows the path to be made slightly larger or
smaller.</p>
</dd></dl>
<dlclass="method">
<dtid="matplotlib.path.Path.get_extents">
<ttclass="descname">get_extents</tt><big>(</big><em>transform=None</em><big>)</big><aclass="headerlink" href="#matplotlib.path.Path.get_extents" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns the extents (<em>xmin</em>, <em>ymin</em>, <em>xmax</em>, <em>ymax</em>) of the
path.</p>
<p>Unlike computing the extents on the <em>vertices</em> alone, this
algorithm will take into account the curves and deal with
control points appropriately.</p>
</dd></dl>
<dlclass="classmethod">
<dtid="matplotlib.path.Path.hatch">
<emclass="property">classmethod </em><ttclass="descname">hatch</tt><big>(</big><em>hatchpattern</em>, <em>density=6</em><big>)</big><aclass="headerlink" href="#matplotlib.path.Path.hatch" title="Permalink to this definition">¶</a></dt>
<dd><p>Given a hatch specifier, <em>hatchpattern</em>, generates a Path that
can be used in a repeated hatching pattern. <em>density</em> is the
number of lines per unit square.</p>
</dd></dl>
<dlclass="method">
<dtid="matplotlib.path.Path.interpolated">
<ttclass="descname">interpolated</tt><big>(</big><em>steps</em><big>)</big><aclass="headerlink" href="#matplotlib.path.Path.interpolated" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns a new path resampled to length N x steps. Does not
currently handle interpolating curves.</p>
</dd></dl>
<dlclass="method">
<dtid="matplotlib.path.Path.intersects_bbox">
<ttclass="descname">intersects_bbox</tt><big>(</big><em>bbox</em>, <em>filled=True</em><big>)</big><aclass="headerlink" href="#matplotlib.path.Path.intersects_bbox" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns <em>True</em> if this path intersects a given
<ttclass="descname">intersects_path</tt><big>(</big><em>other</em>, <em>filled=True</em><big>)</big><aclass="headerlink" href="#matplotlib.path.Path.intersects_path" title="Permalink to this definition">¶</a></dt>
<dd><p>Returns <em>True</em> if this path intersects another given path.</p>
<p><em>filled</em>, when True, treats the paths as if they were filled.
That is, if one path completely encloses the other,
<ttclass="descname">iter_segments</tt><big>(</big><em>transform=None</em>, <em>remove_nans=True</em>, <em>clip=None</em>, <em>snap=False</em>, <em>stroke_width=1.0</em>, <em>simplify=None</em>, <em>curves=True</em>, <em>sketch=None</em><big>)</big><aclass="headerlink" href="#matplotlib.path.Path.iter_segments" title="Permalink to this definition">¶</a></dt>
<dd><p>Iterates over all of the curve segments in the path. Each
iteration returns a 2-tuple (<em>vertices</em>, <em>code</em>), where
<em>vertices</em> is a sequence of 1 - 3 coordinate pairs, and <em>code</em> is
one of the <aclass="reference internal" href="#matplotlib.path.Path" title="matplotlib.path.Path"><ttclass="xref py py-class docutils literal"><spanclass="pre">Path</span></tt></a> codes.</p>
<p>Additionally, this method can provide a number of standard
cleanups and conversions to the path.</p>
<dlclass="docutils">
<dt><em>transform</em>: if not None, the given affine transformation will</dt>
<dd>be applied to the path.</dd>
<dt><em>remove_nans</em>: if True, will remove all NaNs from the path and</dt>
<dd>insert MOVETO commands to skip over them.</dd>
<dt><em>clip</em>: if not None, must be a four-tuple (x1, y1, x2, y2)</dt>
<dd>defining a rectangle in which to clip the path.</dd>
<dt><em>snap</em>: if None, auto-snap to pixels, to reduce</dt>
<dd>fuzziness of rectilinear lines. If True, force snapping, and
if False, don’t snap.</dd>
<dt><em>stroke_width</em>: the width of the stroke being drawn. Needed</dt>
<dd>as a hint for the snapping algorithm.</dd>
<dt><em>simplify</em>: if True, perform simplification, to remove</dt>
<dd>vertices that do not affect the appearance of the path. If
False, perform no simplification. If None, use the
should_simplify member variable.</dd>
<dt><em>curves</em>: If True, curve segments will be returned as curve</dt>
<dd>segments. If False, all curves will be converted to line
segments.</dd>
<dt><em>sketch</em>: If not None, must be a 3-tuple of the form</dt>
<dd>(scale, length, randomness), representing the sketch
parameters.</dd>
</dl>
</dd></dl>
<dlclass="classmethod">
<dtid="matplotlib.path.Path.make_compound_path">
<emclass="property">classmethod </em><ttclass="descname">make_compound_path</tt><big>(</big><em>*args</em><big>)</big><aclass="headerlink" href="#matplotlib.path.Path.make_compound_path" title="Permalink to this definition">¶</a></dt>
<dd><p>(staticmethod) Make a compound path from a list of Path
<emclass="property">classmethod </em><ttclass="descname">make_compound_path_from_polys</tt><big>(</big><em>XY</em><big>)</big><aclass="headerlink" href="#matplotlib.path.Path.make_compound_path_from_polys" title="Permalink to this definition">¶</a></dt>
<dd><p>(static method) Make a compound path object to draw a number
of polygons with equal numbers of sides XY is a (numpolys x
numsides x 2) numpy array of vertices. Return object is a
<ttclass="descname">to_polygons</tt><big>(</big><em>transform=None</em>, <em>width=0</em>, <em>height=0</em><big>)</big><aclass="headerlink" href="#matplotlib.path.Path.to_polygons" title="Permalink to this definition">¶</a></dt>
<dd><p>Convert this path to a list of polygons. Each polygon is an
Nx2 array of vertices. In other words, each polygon has no
<ttclass="docutils literal"><spanclass="pre">MOVETO</span></tt> instructions or curves. This is useful for
displaying in backends that do not support compound paths or
Bezier curves, such as GDK.</p>
<p>If <em>width</em> and <em>height</em> are both non-zero then the lines will
be simplified so that vertices outside of (0, 0), (width,
height) will be clipped.</p>
</dd></dl>
<dlclass="method">
<dtid="matplotlib.path.Path.transformed">
<ttclass="descname">transformed</tt><big>(</big><em>transform</em><big>)</big><aclass="headerlink" href="#matplotlib.path.Path.transformed" title="Permalink to this definition">¶</a></dt>
transformed result and automatically update when the
transform changes.</dd>
</dl>
</div>
</dd></dl>
<dlclass="classmethod">
<dtid="matplotlib.path.Path.unit_circle">
<emclass="property">classmethod </em><ttclass="descname">unit_circle</tt><big>(</big><big>)</big><aclass="headerlink" href="#matplotlib.path.Path.unit_circle" title="Permalink to this definition">¶</a></dt>
<dd><p>(staticmethod) Returns a <aclass="reference internal" href="#matplotlib.path.Path" title="matplotlib.path.Path"><ttclass="xref py py-class docutils literal"><spanclass="pre">Path</span></tt></a> of the unit circle.
The circle is approximated using cubic Bezier curves. This
uses 8 splines around the circle using the approach presented
here:</p>
<blockquote>
<div>Lancaster, Don. <aclass="reference external" href="http://www.tinaja.com/glib/ellipse4.pdf">Approximating a Circle or an Ellipse Using Four
<emclass="property">classmethod </em><ttclass="descname">unit_circle_righthalf</tt><big>(</big><big>)</big><aclass="headerlink" href="#matplotlib.path.Path.unit_circle_righthalf" title="Permalink to this definition">¶</a></dt>
<dd><p>(staticmethod) Returns a <aclass="reference internal" href="#matplotlib.path.Path" title="matplotlib.path.Path"><ttclass="xref py py-class docutils literal"><spanclass="pre">Path</span></tt></a> of the right half
of a unit circle. The circle is approximated using cubic Bezier
curves. This uses 4 splines around the circle using the approach
presented here:</p>
<blockquote>
<div>Lancaster, Don. <aclass="reference external" href="http://www.tinaja.com/glib/ellipse4.pdf">Approximating a Circle or an Ellipse Using Four
Bezier Cubic Splines</a>.</div></blockquote>
</dd></dl>
<dlclass="classmethod">
<dtid="matplotlib.path.Path.unit_rectangle">
<emclass="property">classmethod </em><ttclass="descname">unit_rectangle</tt><big>(</big><big>)</big><aclass="headerlink" href="#matplotlib.path.Path.unit_rectangle" title="Permalink to this definition">¶</a></dt>
<dd><p>(staticmethod) Returns a <aclass="reference internal" href="#matplotlib.path.Path" title="matplotlib.path.Path"><ttclass="xref py py-class docutils literal"><spanclass="pre">Path</span></tt></a> of the unit rectangle
<emclass="property">classmethod </em><ttclass="descname">unit_regular_asterisk</tt><big>(</big><em>numVertices</em><big>)</big><aclass="headerlink" href="#matplotlib.path.Path.unit_regular_asterisk" title="Permalink to this definition">¶</a></dt>
<dd><p>(staticmethod) Returns a <aclass="reference internal" href="#matplotlib.path.Path" title="matplotlib.path.Path"><ttclass="xref py py-class docutils literal"><spanclass="pre">Path</span></tt></a> for a unit regular
asterisk with the given numVertices and radius of 1.0,
<emclass="property">classmethod </em><ttclass="descname">unit_regular_polygon</tt><big>(</big><em>numVertices</em><big>)</big><aclass="headerlink" href="#matplotlib.path.Path.unit_regular_polygon" title="Permalink to this definition">¶</a></dt>
<dd><p>(staticmethod) Returns a <aclass="reference internal" href="#matplotlib.path.Path" title="matplotlib.path.Path"><ttclass="xref py py-class docutils literal"><spanclass="pre">Path</span></tt></a> for a unit regular
polygon with the given <em>numVertices</em> and radius of 1.0,
centered at (0, 0).</p>
</dd></dl>
<dlclass="classmethod">
<dtid="matplotlib.path.Path.unit_regular_star">
<emclass="property">classmethod </em><ttclass="descname">unit_regular_star</tt><big>(</big><em>numVertices</em>, <em>innerCircle=0.5</em><big>)</big><aclass="headerlink" href="#matplotlib.path.Path.unit_regular_star" title="Permalink to this definition">¶</a></dt>
<dd><p>(staticmethod) Returns a <aclass="reference internal" href="#matplotlib.path.Path" title="matplotlib.path.Path"><ttclass="xref py py-class docutils literal"><spanclass="pre">Path</span></tt></a> for a unit regular star
with the given numVertices and radius of 1.0, centered at (0,
0).</p>
</dd></dl>
<dlclass="classmethod">
<dtid="matplotlib.path.Path.wedge">
<emclass="property">classmethod </em><ttclass="descname">wedge</tt><big>(</big><em>theta1</em>, <em>theta2</em>, <em>n=None</em><big>)</big><aclass="headerlink" href="#matplotlib.path.Path.wedge" title="Permalink to this definition">¶</a></dt>
<dd><p>(staticmethod) Returns a wedge of the unit circle from angle
<em>theta1</em> to angle <em>theta2</em> (in degrees).</p>
<p>If <em>n</em> is provided, it is the number of spline segments to make.
If <em>n</em> is not provided, the number of spline segments is
determined based on the delta between <em>theta1</em> and <em>theta2</em>.</p>
</dd></dl>
</dd></dl>
<dlclass="function">
<dtid="matplotlib.path.cleanup_path">
<ttclass="descclassname">matplotlib.path.</tt><ttclass="descname">cleanup_path</tt><big>(</big><em>path</em>, <em>trans</em>, <em>remove_nans</em>, <em>clip</em>, <em>snap</em>, <em>simplify</em>, <em>curves</em>, <em>sketch_params</em><big>)</big><aclass="headerlink" href="#matplotlib.path.cleanup_path" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>
<dlclass="function">
<dtid="matplotlib.path.clip_path_to_rect">
<ttclass="descclassname">matplotlib.path.</tt><ttclass="descname">clip_path_to_rect</tt><big>(</big><em>path</em>, <em>bbox</em>, <em>inside</em><big>)</big><aclass="headerlink" href="#matplotlib.path.clip_path_to_rect" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>
<dlclass="function">
<dtid="matplotlib.path.convert_path_to_polygons">
<ttclass="descclassname">matplotlib.path.</tt><ttclass="descname">convert_path_to_polygons</tt><big>(</big><em>path</em>, <em>trans</em>, <em>width</em>, <em>height</em><big>)</big><aclass="headerlink" href="#matplotlib.path.convert_path_to_polygons" title="Permalink to this definition">¶</a></dt>
<ttclass="descclassname">matplotlib.path.</tt><ttclass="descname">get_path_collection_extents</tt><big>(</big><em>master_transform</em>, <em>paths</em>, <em>transforms</em>, <em>offsets</em>, <em>offset_transform</em><big>)</big><aclass="headerlink" href="#matplotlib.path.get_path_collection_extents" title="Permalink to this definition">¶</a></dt>
<dd><p>Given a sequence of <aclass="reference internal" href="#matplotlib.path.Path" title="matplotlib.path.Path"><ttclass="xref py py-class docutils literal"><spanclass="pre">Path</span></tt></a> objects,
<aclass="reference internal" href="../devel/transformations.html#matplotlib.transforms.Transform" title="matplotlib.transforms.Transform"><ttclass="xref py py-class docutils literal"><spanclass="pre">Transform</span></tt></a> objects and offsets, as
found in a <aclass="reference internal" href="collections_api.html#matplotlib.collections.PathCollection" title="matplotlib.collections.PathCollection"><ttclass="xref py py-class docutils literal"><spanclass="pre">PathCollection</span></tt></a>,
returns the bounding box that encapsulates all of them.</p>
<p><em>master_transform</em> is a global transformation to apply to all paths</p>
<p><em>paths</em> is a sequence of <aclass="reference internal" href="#matplotlib.path.Path" title="matplotlib.path.Path"><ttclass="xref py py-class docutils literal"><spanclass="pre">Path</span></tt></a> instances.</p>
<p><em>offsets</em> is a sequence of (x, y) offsets (or an Nx2 array)</p>
<p><em>offset_transform</em> is a <aclass="reference internal" href="../devel/transformations.html#matplotlib.transforms.Affine2D" title="matplotlib.transforms.Affine2D"><ttclass="xref py py-class docutils literal"><spanclass="pre">Affine2D</span></tt></a>
to apply to the offsets before applying the offset to the path.</p>
<p>The way that <em>paths</em>, <em>transforms</em> and <em>offsets</em> are combined
follows the same method as for collections. Each is iterated over
independently, so if you have 3 paths, 2 transforms and 1 offset,
their combinations are as follows:</p>
<blockquote>
<div>(A, A, A), (B, B, A), (C, A, A)</div></blockquote>
</dd></dl>
<dlclass="function">
<dtid="matplotlib.path.get_path_extents">
<ttclass="descclassname">matplotlib.path.</tt><ttclass="descname">get_path_extents</tt><big>(</big><em>path</em>, <em>trans</em><big>)</big><aclass="headerlink" href="#matplotlib.path.get_path_extents" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>
<dlclass="function">
<dtid="matplotlib.path.get_paths_extents">
<ttclass="descclassname">matplotlib.path.</tt><ttclass="descname">get_paths_extents</tt><big>(</big><em>paths</em>, <em>transforms=</em><spanclass="optional">[</span><spanclass="optional">]</span><big>)</big><aclass="headerlink" href="#matplotlib.path.get_paths_extents" title="Permalink to this definition">¶</a></dt>
<dd><p>Given a sequence of <aclass="reference internal" href="#matplotlib.path.Path" title="matplotlib.path.Path"><ttclass="xref py py-class docutils literal"><spanclass="pre">Path</span></tt></a> objects and optional
<p><em>paths</em> is a sequence of <aclass="reference internal" href="#matplotlib.path.Path" title="matplotlib.path.Path"><ttclass="xref py py-class docutils literal"><spanclass="pre">Path</span></tt></a> instances.</p>
<p><em>transforms</em> is an optional sequence of
<aclass="reference internal" href="../devel/transformations.html#matplotlib.transforms.Affine2D" title="matplotlib.transforms.Affine2D"><ttclass="xref py py-class docutils literal"><spanclass="pre">Affine2D</span></tt></a> instances to apply to
each path.</p>
</dd></dl>
<dlclass="function">
<dtid="matplotlib.path.path_in_path">
<ttclass="descclassname">matplotlib.path.</tt><ttclass="descname">path_in_path</tt><big>(</big><em>a</em>, <em>atrans</em>, <em>b</em>, <em>btrans</em><big>)</big><aclass="headerlink" href="#matplotlib.path.path_in_path" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>
<dlclass="function">
<dtid="matplotlib.path.path_intersects_path">
<ttclass="descclassname">matplotlib.path.</tt><ttclass="descname">path_intersects_path</tt><big>(</big><em>p1</em>, <em>p2</em><big>)</big><aclass="headerlink" href="#matplotlib.path.path_intersects_path" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>
<dlclass="function">
<dtid="matplotlib.path.point_in_path">
<ttclass="descclassname">matplotlib.path.</tt><ttclass="descname">point_in_path</tt><big>(</big><em>x</em>, <em>y</em>, <em>path</em>, <em>trans</em><big>)</big><aclass="headerlink" href="#matplotlib.path.point_in_path" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>
<dlclass="function">
<dtid="matplotlib.path.point_in_path_collection">
<ttclass="descclassname">matplotlib.path.</tt><ttclass="descname">point_in_path_collection</tt><big>(</big><em>x</em>, <em>y</em>, <em>r</em>, <em>trans</em>, <em>paths</em>, <em>transforms</em>, <em>offsets</em>, <em>offsetTrans</em>, <em>filled</em><big>)</big><aclass="headerlink" href="#matplotlib.path.point_in_path_collection" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>
<dlclass="function">
<dtid="matplotlib.path.points_in_path">
<ttclass="descclassname">matplotlib.path.</tt><ttclass="descname">points_in_path</tt><big>(</big><em>points</em>, <em>path</em>, <em>trans</em><big>)</big><aclass="headerlink" href="#matplotlib.path.points_in_path" title="Permalink to this definition">¶</a></dt>