doc_content stringlengths 1 386k | doc_id stringlengths 5 188 |
|---|---|
get_aa()[source]
Alias for get_antialiased. | matplotlib._as_gen.matplotlib.patches.patch#matplotlib.patches.Patch.get_aa |
get_antialiased()[source]
Return whether antialiasing is used for drawing. | matplotlib._as_gen.matplotlib.patches.patch#matplotlib.patches.Patch.get_antialiased |
get_capstyle()[source]
Return the capstyle. | matplotlib._as_gen.matplotlib.patches.patch#matplotlib.patches.Patch.get_capstyle |
get_data_transform()[source]
Return the Transform mapping data coordinates to physical coordinates. | matplotlib._as_gen.matplotlib.patches.patch#matplotlib.patches.Patch.get_data_transform |
get_ec()[source]
Alias for get_edgecolor. | matplotlib._as_gen.matplotlib.patches.patch#matplotlib.patches.Patch.get_ec |
get_edgecolor()[source]
Return the edge color. | matplotlib._as_gen.matplotlib.patches.patch#matplotlib.patches.Patch.get_edgecolor |
get_extents()[source]
Return the Patch's axis-aligned extents as a Bbox. | matplotlib._as_gen.matplotlib.patches.patch#matplotlib.patches.Patch.get_extents |
get_facecolor()[source]
Return the face color. | matplotlib._as_gen.matplotlib.patches.patch#matplotlib.patches.Patch.get_facecolor |
get_fc()[source]
Alias for get_facecolor. | matplotlib._as_gen.matplotlib.patches.patch#matplotlib.patches.Patch.get_fc |
get_fill()[source]
Return whether the patch is filled. | matplotlib._as_gen.matplotlib.patches.patch#matplotlib.patches.Patch.get_fill |
get_hatch()[source]
Return the hatching pattern. | matplotlib._as_gen.matplotlib.patches.patch#matplotlib.patches.Patch.get_hatch |
get_joinstyle()[source]
Return the joinstyle. | matplotlib._as_gen.matplotlib.patches.patch#matplotlib.patches.Patch.get_joinstyle |
get_linestyle()[source]
Return the linestyle. | matplotlib._as_gen.matplotlib.patches.patch#matplotlib.patches.Patch.get_linestyle |
get_linewidth()[source]
Return the line width in points. | matplotlib._as_gen.matplotlib.patches.patch#matplotlib.patches.Patch.get_linewidth |
get_ls()[source]
Alias for get_linestyle. | matplotlib._as_gen.matplotlib.patches.patch#matplotlib.patches.Patch.get_ls |
get_lw()[source]
Alias for get_linewidth. | matplotlib._as_gen.matplotlib.patches.patch#matplotlib.patches.Patch.get_lw |
get_patch_transform()[source]
Return the Transform instance mapping patch coordinates to data coordinates. For example, one may define a patch of a circle which represents a radius of 5 by providing coordinates for a unit circle, and a transform which scales the coordinates (the patch coordinate) by 5. | matplotlib._as_gen.matplotlib.patches.patch#matplotlib.patches.Patch.get_patch_transform |
get_path()[source]
Return the path of this patch. | matplotlib._as_gen.matplotlib.patches.patch#matplotlib.patches.Patch.get_path |
get_transform()[source]
Return the Transform applied to the Patch. | matplotlib._as_gen.matplotlib.patches.patch#matplotlib.patches.Patch.get_transform |
get_verts()[source]
Return a copy of the vertices used in this patch. If the patch contains Bezier curves, the curves will be interpolated by line segments. To access the curves as curves, use get_path. | matplotlib._as_gen.matplotlib.patches.patch#matplotlib.patches.Patch.get_verts |
get_window_extent(renderer=None)[source]
Get the artist's bounding box in display space. The bounding box' width and height are nonnegative. Subclasses should override for inclusion in the bounding box "tight" calculation. Default is to return an empty bounding box at 0, 0. Be careful when using this function, the re... | matplotlib._as_gen.matplotlib.patches.patch#matplotlib.patches.Patch.get_window_extent |
set(*, agg_filter=<UNSET>, alpha=<UNSET>, animated=<UNSET>, antialiased=<UNSET>, capstyle=<UNSET>, clip_box=<UNSET>, clip_on=<UNSET>, clip_path=<UNSET>, color=<UNSET>, edgecolor=<UNSET>, facecolor=<UNSET>, fill=<UNSET>, gid=<UNSET>, hatch=<UNSET>, in_layout=<UNSET>, joinstyle=<UNSET>, label=<UNSET>, linestyle=<UNSET>, ... | matplotlib._as_gen.matplotlib.patches.patch#matplotlib.patches.Patch.set |
set_aa(aa)[source]
Alias for set_antialiased. | matplotlib._as_gen.matplotlib.patches.patch#matplotlib.patches.Patch.set_aa |
set_alpha(alpha)[source]
Set the alpha value used for blending - not supported on all backends. Parameters
alphascalar or None
alpha must be within the 0-1 range, inclusive. | matplotlib._as_gen.matplotlib.patches.patch#matplotlib.patches.Patch.set_alpha |
set_antialiased(aa)[source]
Set whether to use antialiased rendering. Parameters
aabool or None | matplotlib._as_gen.matplotlib.patches.patch#matplotlib.patches.Patch.set_antialiased |
set_capstyle(s)[source]
Set the CapStyle. Parameters
sCapStyle or {'butt', 'projecting', 'round'} | matplotlib._as_gen.matplotlib.patches.patch#matplotlib.patches.Patch.set_capstyle |
set_color(c)[source]
Set both the edgecolor and the facecolor. Parameters
ccolor
See also
Patch.set_facecolor, Patch.set_edgecolor
For setting the edge or face color individually. | matplotlib._as_gen.matplotlib.patches.patch#matplotlib.patches.Patch.set_color |
set_ec(color)[source]
Alias for set_edgecolor. | matplotlib._as_gen.matplotlib.patches.patch#matplotlib.patches.Patch.set_ec |
set_edgecolor(color)[source]
Set the patch edge color. Parameters
colorcolor or None | matplotlib._as_gen.matplotlib.patches.patch#matplotlib.patches.Patch.set_edgecolor |
set_facecolor(color)[source]
Set the patch face color. Parameters
colorcolor or None | matplotlib._as_gen.matplotlib.patches.patch#matplotlib.patches.Patch.set_facecolor |
set_fc(color)[source]
Alias for set_facecolor. | matplotlib._as_gen.matplotlib.patches.patch#matplotlib.patches.Patch.set_fc |
set_fill(b)[source]
Set whether to fill the patch. Parameters
bbool | matplotlib._as_gen.matplotlib.patches.patch#matplotlib.patches.Patch.set_fill |
set_hatch(hatch)[source]
Set the hatching pattern. hatch can be one of: / - diagonal hatching
\ - back diagonal
| - vertical
- - horizontal
+ - crossed
x - crossed diagonal
o - small circle
O - large circle
. - dots
* - stars
Letters can be combined, in which case all the specified hatchings are ... | matplotlib._as_gen.matplotlib.patches.patch#matplotlib.patches.Patch.set_hatch |
set_joinstyle(s)[source]
Set the JoinStyle. Parameters
sJoinStyle or {'miter', 'round', 'bevel'} | matplotlib._as_gen.matplotlib.patches.patch#matplotlib.patches.Patch.set_joinstyle |
set_linestyle(ls)[source]
Set the patch linestyle.
linestyle description
'-' or 'solid' solid line
'--' or 'dashed' dashed line
'-.' or 'dashdot' dash-dotted line
':' or 'dotted' dotted line
'none', 'None', ' ', or '' draw nothing Alternatively a dash tuple of the following form can be provided: (offs... | matplotlib._as_gen.matplotlib.patches.patch#matplotlib.patches.Patch.set_linestyle |
set_linewidth(w)[source]
Set the patch linewidth in points. Parameters
wfloat or None | matplotlib._as_gen.matplotlib.patches.patch#matplotlib.patches.Patch.set_linewidth |
set_ls(ls)[source]
Alias for set_linestyle. | matplotlib._as_gen.matplotlib.patches.patch#matplotlib.patches.Patch.set_ls |
set_lw(w)[source]
Alias for set_linewidth. | matplotlib._as_gen.matplotlib.patches.patch#matplotlib.patches.Patch.set_lw |
update_from(other)[source]
Copy properties from other to self. | matplotlib._as_gen.matplotlib.patches.patch#matplotlib.patches.Patch.update_from |
validCap=('butt', 'projecting', 'round') | matplotlib._as_gen.matplotlib.patches.patch#matplotlib.patches.Patch.validCap |
validJoin=('miter', 'round', 'bevel') | matplotlib._as_gen.matplotlib.patches.patch#matplotlib.patches.Patch.validJoin |
zorder=1 | matplotlib._as_gen.matplotlib.patches.patch#matplotlib.patches.Patch.zorder |
matplotlib.patches.PathPatch classmatplotlib.patches.PathPatch(path, **kwargs)[source]
Bases: matplotlib.patches.Patch A general polycurve path patch. path is a Path object. Valid keyword arguments are:
Property Description
agg_filter a filter function, which takes a (m, n, 3) float array and a dpi value, and... | matplotlib._as_gen.matplotlib.patches.pathpatch |
get_path()[source]
Return the path of this patch. | matplotlib._as_gen.matplotlib.patches.pathpatch#matplotlib.patches.PathPatch.get_path |
set(*, agg_filter=<UNSET>, alpha=<UNSET>, animated=<UNSET>, antialiased=<UNSET>, capstyle=<UNSET>, clip_box=<UNSET>, clip_on=<UNSET>, clip_path=<UNSET>, color=<UNSET>, edgecolor=<UNSET>, facecolor=<UNSET>, fill=<UNSET>, gid=<UNSET>, hatch=<UNSET>, in_layout=<UNSET>, joinstyle=<UNSET>, label=<UNSET>, linestyle=<UNSET>, ... | matplotlib._as_gen.matplotlib.patches.pathpatch#matplotlib.patches.PathPatch.set |
set_path(path)[source] | matplotlib._as_gen.matplotlib.patches.pathpatch#matplotlib.patches.PathPatch.set_path |
matplotlib.patches.Polygon classmatplotlib.patches.Polygon(xy, closed=True, **kwargs)[source]
Bases: matplotlib.patches.Patch A general polygon patch. xy is a numpy array with shape Nx2. If closed is True, the polygon will be closed so the starting and ending points are the same. Valid keyword arguments are:
Pro... | matplotlib._as_gen.matplotlib.patches.polygon |
get_closed()[source]
Return whether the polygon is closed. | matplotlib._as_gen.matplotlib.patches.polygon#matplotlib.patches.Polygon.get_closed |
get_path()[source]
Get the Path of the polygon. | matplotlib._as_gen.matplotlib.patches.polygon#matplotlib.patches.Polygon.get_path |
get_xy()[source]
Get the vertices of the path. Returns
(N, 2) numpy array
The coordinates of the vertices. | matplotlib._as_gen.matplotlib.patches.polygon#matplotlib.patches.Polygon.get_xy |
set(*, agg_filter=<UNSET>, alpha=<UNSET>, animated=<UNSET>, antialiased=<UNSET>, capstyle=<UNSET>, clip_box=<UNSET>, clip_on=<UNSET>, clip_path=<UNSET>, closed=<UNSET>, color=<UNSET>, edgecolor=<UNSET>, facecolor=<UNSET>, fill=<UNSET>, gid=<UNSET>, hatch=<UNSET>, in_layout=<UNSET>, joinstyle=<UNSET>, label=<UNSET>, lin... | matplotlib._as_gen.matplotlib.patches.polygon#matplotlib.patches.Polygon.set |
set_closed(closed)[source]
Set whether the polygon is closed. Parameters
closedbool
True if the polygon is closed | matplotlib._as_gen.matplotlib.patches.polygon#matplotlib.patches.Polygon.set_closed |
set_xy(xy)[source]
Set the vertices of the polygon. Parameters
xy(N, 2) array-like
The coordinates of the vertices. Notes Unlike Path, we do not ignore the last input vertex. If the polygon is meant to be closed, and the last point of the polygon is not equal to the first, we assume that the user has not ex... | matplotlib._as_gen.matplotlib.patches.polygon#matplotlib.patches.Polygon.set_xy |
matplotlib.patches.Rectangle classmatplotlib.patches.Rectangle(xy, width, height, angle=0.0, **kwargs)[source]
Bases: matplotlib.patches.Patch A rectangle defined via an anchor point xy and its width and height. The rectangle extends from xy[0] to xy[0] + width in x-direction and from xy[1] to xy[1] + height in y-d... | matplotlib._as_gen.matplotlib.patches.rectangle |
get_angle()[source]
Get the rotation angle in degrees. | matplotlib._as_gen.matplotlib.patches.rectangle#matplotlib.patches.Rectangle.get_angle |
get_bbox()[source]
Return the Bbox. | matplotlib._as_gen.matplotlib.patches.rectangle#matplotlib.patches.Rectangle.get_bbox |
get_height()[source]
Return the height of the rectangle. | matplotlib._as_gen.matplotlib.patches.rectangle#matplotlib.patches.Rectangle.get_height |
get_patch_transform()[source]
Return the Transform instance mapping patch coordinates to data coordinates. For example, one may define a patch of a circle which represents a radius of 5 by providing coordinates for a unit circle, and a transform which scales the coordinates (the patch coordinate) by 5. | matplotlib._as_gen.matplotlib.patches.rectangle#matplotlib.patches.Rectangle.get_patch_transform |
get_path()[source]
Return the vertices of the rectangle. | matplotlib._as_gen.matplotlib.patches.rectangle#matplotlib.patches.Rectangle.get_path |
get_width()[source]
Return the width of the rectangle. | matplotlib._as_gen.matplotlib.patches.rectangle#matplotlib.patches.Rectangle.get_width |
get_x()[source]
Return the left coordinate of the rectangle. | matplotlib._as_gen.matplotlib.patches.rectangle#matplotlib.patches.Rectangle.get_x |
get_xy()[source]
Return the left and bottom coords of the rectangle as a tuple. | matplotlib._as_gen.matplotlib.patches.rectangle#matplotlib.patches.Rectangle.get_xy |
get_y()[source]
Return the bottom coordinate of the rectangle. | matplotlib._as_gen.matplotlib.patches.rectangle#matplotlib.patches.Rectangle.get_y |
set(*, agg_filter=<UNSET>, alpha=<UNSET>, angle=<UNSET>, animated=<UNSET>, antialiased=<UNSET>, bounds=<UNSET>, capstyle=<UNSET>, clip_box=<UNSET>, clip_on=<UNSET>, clip_path=<UNSET>, color=<UNSET>, edgecolor=<UNSET>, facecolor=<UNSET>, fill=<UNSET>, gid=<UNSET>, hatch=<UNSET>, height=<UNSET>, in_layout=<UNSET>, joinst... | matplotlib._as_gen.matplotlib.patches.rectangle#matplotlib.patches.Rectangle.set |
set_angle(angle)[source]
Set the rotation angle in degrees. The rotation is performed anti-clockwise around xy. | matplotlib._as_gen.matplotlib.patches.rectangle#matplotlib.patches.Rectangle.set_angle |
set_bounds(*args)[source]
Set the bounds of the rectangle as left, bottom, width, height. The values may be passed as separate parameters or as a tuple: set_bounds(left, bottom, width, height)
set_bounds((left, bottom, width, height)) | matplotlib._as_gen.matplotlib.patches.rectangle#matplotlib.patches.Rectangle.set_bounds |
set_height(h)[source]
Set the height of the rectangle. | matplotlib._as_gen.matplotlib.patches.rectangle#matplotlib.patches.Rectangle.set_height |
set_width(w)[source]
Set the width of the rectangle. | matplotlib._as_gen.matplotlib.patches.rectangle#matplotlib.patches.Rectangle.set_width |
set_x(x)[source]
Set the left coordinate of the rectangle. | matplotlib._as_gen.matplotlib.patches.rectangle#matplotlib.patches.Rectangle.set_x |
set_xy(xy)[source]
Set the left and bottom coordinates of the rectangle. Parameters
xy(float, float) | matplotlib._as_gen.matplotlib.patches.rectangle#matplotlib.patches.Rectangle.set_xy |
set_y(y)[source]
Set the bottom coordinate of the rectangle. | matplotlib._as_gen.matplotlib.patches.rectangle#matplotlib.patches.Rectangle.set_y |
matplotlib.patches.RegularPolygon classmatplotlib.patches.RegularPolygon(xy, numVertices, radius=5, orientation=0, **kwargs)[source]
Bases: matplotlib.patches.Patch A regular polygon patch. Parameters
xy(float, float)
The center position.
numVerticesint
The number of vertices.
radiusfloat
The distance... | matplotlib._as_gen.matplotlib.patches.regularpolygon |
get_patch_transform()[source]
Return the Transform instance mapping patch coordinates to data coordinates. For example, one may define a patch of a circle which represents a radius of 5 by providing coordinates for a unit circle, and a transform which scales the coordinates (the patch coordinate) by 5. | matplotlib._as_gen.matplotlib.patches.regularpolygon#matplotlib.patches.RegularPolygon.get_patch_transform |
get_path()[source]
Return the path of this patch. | matplotlib._as_gen.matplotlib.patches.regularpolygon#matplotlib.patches.RegularPolygon.get_path |
set(*, agg_filter=<UNSET>, alpha=<UNSET>, animated=<UNSET>, antialiased=<UNSET>, capstyle=<UNSET>, clip_box=<UNSET>, clip_on=<UNSET>, clip_path=<UNSET>, color=<UNSET>, edgecolor=<UNSET>, facecolor=<UNSET>, fill=<UNSET>, gid=<UNSET>, hatch=<UNSET>, in_layout=<UNSET>, joinstyle=<UNSET>, label=<UNSET>, linestyle=<UNSET>, ... | matplotlib._as_gen.matplotlib.patches.regularpolygon#matplotlib.patches.RegularPolygon.set |
matplotlib.patches.Shadow classmatplotlib.patches.Shadow(patch, ox, oy, **kwargs)[source]
Bases: matplotlib.patches.Patch Create a shadow of the given patch. By default, the shadow will have the same face color as the patch, but darkened. Parameters
patchPatch
The patch to create the shadow for.
ox, oyfloat... | matplotlib._as_gen.matplotlib.patches.shadow |
draw(renderer)[source]
Draw the Artist (and its children) using the given renderer. This has no effect if the artist is not visible (Artist.get_visible returns False). Parameters
rendererRendererBase subclass.
Notes This method is overridden in the Artist subclasses. | matplotlib._as_gen.matplotlib.patches.shadow#matplotlib.patches.Shadow.draw |
get_patch_transform()[source]
Return the Transform instance mapping patch coordinates to data coordinates. For example, one may define a patch of a circle which represents a radius of 5 by providing coordinates for a unit circle, and a transform which scales the coordinates (the patch coordinate) by 5. | matplotlib._as_gen.matplotlib.patches.shadow#matplotlib.patches.Shadow.get_patch_transform |
get_path()[source]
Return the path of this patch. | matplotlib._as_gen.matplotlib.patches.shadow#matplotlib.patches.Shadow.get_path |
set(*, agg_filter=<UNSET>, alpha=<UNSET>, animated=<UNSET>, antialiased=<UNSET>, capstyle=<UNSET>, clip_box=<UNSET>, clip_on=<UNSET>, clip_path=<UNSET>, color=<UNSET>, edgecolor=<UNSET>, facecolor=<UNSET>, fill=<UNSET>, gid=<UNSET>, hatch=<UNSET>, in_layout=<UNSET>, joinstyle=<UNSET>, label=<UNSET>, linestyle=<UNSET>, ... | matplotlib._as_gen.matplotlib.patches.shadow#matplotlib.patches.Shadow.set |
matplotlib.patches.StepPatch classmatplotlib.patches.StepPatch(values, edges, *, orientation='vertical', baseline=0, **kwargs)[source]
Bases: matplotlib.patches.PathPatch A path patch describing a stepwise constant function. By default the path is not closed and starts and stops at baseline value. Parameters
va... | matplotlib._as_gen.matplotlib.patches.steppatch |
get_data()[source]
Get StepPatch values, edges and baseline as namedtuple. | matplotlib._as_gen.matplotlib.patches.steppatch#matplotlib.patches.StepPatch.get_data |
set(*, agg_filter=<UNSET>, alpha=<UNSET>, animated=<UNSET>, antialiased=<UNSET>, capstyle=<UNSET>, clip_box=<UNSET>, clip_on=<UNSET>, clip_path=<UNSET>, color=<UNSET>, data=<UNSET>, edgecolor=<UNSET>, facecolor=<UNSET>, fill=<UNSET>, gid=<UNSET>, hatch=<UNSET>, in_layout=<UNSET>, joinstyle=<UNSET>, label=<UNSET>, lines... | matplotlib._as_gen.matplotlib.patches.steppatch#matplotlib.patches.StepPatch.set |
set_data(values=None, edges=None, baseline=None)[source]
Set StepPatch values, edges and baseline. Parameters
values1D array-like or None
Will not update values, if passing None
edges1D array-like, optional
baselinefloat, 1D array-like or None | matplotlib._as_gen.matplotlib.patches.steppatch#matplotlib.patches.StepPatch.set_data |
matplotlib.patches.Wedge classmatplotlib.patches.Wedge(center, r, theta1, theta2, width=None, **kwargs)[source]
Bases: matplotlib.patches.Patch Wedge shaped patch. A wedge centered at x, y center with radius r that sweeps theta1 to theta2 (in degrees). If width is given, then a partial wedge is drawn from inner rad... | matplotlib._as_gen.matplotlib.patches.wedge |
get_path()[source]
Return the path of this patch. | matplotlib._as_gen.matplotlib.patches.wedge#matplotlib.patches.Wedge.get_path |
set(*, agg_filter=<UNSET>, alpha=<UNSET>, animated=<UNSET>, antialiased=<UNSET>, capstyle=<UNSET>, center=<UNSET>, clip_box=<UNSET>, clip_on=<UNSET>, clip_path=<UNSET>, color=<UNSET>, edgecolor=<UNSET>, facecolor=<UNSET>, fill=<UNSET>, gid=<UNSET>, hatch=<UNSET>, in_layout=<UNSET>, joinstyle=<UNSET>, label=<UNSET>, lin... | matplotlib._as_gen.matplotlib.patches.wedge#matplotlib.patches.Wedge.set |
set_center(center)[source] | matplotlib._as_gen.matplotlib.patches.wedge#matplotlib.patches.Wedge.set_center |
set_radius(radius)[source] | matplotlib._as_gen.matplotlib.patches.wedge#matplotlib.patches.Wedge.set_radius |
set_theta1(theta1)[source] | matplotlib._as_gen.matplotlib.patches.wedge#matplotlib.patches.Wedge.set_theta1 |
set_theta2(theta2)[source] | matplotlib._as_gen.matplotlib.patches.wedge#matplotlib.patches.Wedge.set_theta2 |
set_width(width)[source] | matplotlib._as_gen.matplotlib.patches.wedge#matplotlib.patches.Wedge.set_width |
matplotlib.path A module for dealing with the polylines used throughout Matplotlib. The primary class for polyline handling in Matplotlib is Path. Almost all vector drawing makes use of Paths somewhere in the drawing pipeline. Whilst a Path instance itself cannot be drawn, some Artist subclasses, such as PathPatch and ... | matplotlib.path_api |
matplotlib.path.get_path_collection_extents(master_transform, paths, transforms, offsets, offset_transform)[source]
Given a sequence of Paths, Transforms objects, and offsets, as found in a PathCollection, returns the bounding box that encapsulates all of them. Parameters
master_transformTransform
Global transf... | matplotlib.path_api#matplotlib.path.get_path_collection_extents |
classmatplotlib.path.Path(vertices, codes=None, _interpolation_steps=1, closed=False, readonly=False)[source]
Bases: object A series of possibly disconnected, possibly closed, line and curve segments. The underlying storage is made up of two parallel numpy arrays:
vertices: an Nx2 float array of vertices
codes: an... | matplotlib.path_api#matplotlib.path.Path |
classmethodarc(theta1, theta2, n=None, is_wedge=False)[source]
Return a Path for the unit circle arc from angles theta1 to theta2 (in degrees). theta2 is unwrapped to produce the shortest arc within 360 degrees. That is, if theta2 > theta1 + 360, the arc will be from theta1 to theta2 - 360 and not a full circle plus ... | matplotlib.path_api#matplotlib.path.Path.arc |
classmethodcircle(center=(0.0, 0.0), radius=1.0, readonly=False)[source]
Return a Path representing a circle of a given radius and center. Parameters
center(float, float), default: (0, 0)
The center of the circle.
radiusfloat, default: 1
The radius of the circle.
readonlybool
Whether the created path sh... | matplotlib.path_api#matplotlib.path.Path.circle |
cleaned(transform=None, remove_nans=False, clip=None, *, simplify=False, curves=False, stroke_width=1.0, snap=False, sketch=None)[source]
Return a new Path with vertices and codes cleaned according to the parameters. See also Path.iter_segments
for details of the keyword arguments. | matplotlib.path_api#matplotlib.path.Path.cleaned |
clip_to_bbox(bbox, inside=True)[source]
Clip the path to the given bounding box. The path must be made up of one or more closed polygons. This algorithm will not behave correctly for unclosed paths. If inside is True, clip to the inside of the box, otherwise to the outside of the box. | matplotlib.path_api#matplotlib.path.Path.clip_to_bbox |
CLOSEPOLY=79 | matplotlib.path_api#matplotlib.path.Path.CLOSEPOLY |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.