matplotlib.patches.PathPatch — Matplotlib 3.10.1 documentation (original) (raw)

class matplotlib.patches.PathPatch(path, **kwargs)[source]#

Bases: Patch

A general polycurve path patch.

path is a Path object.

Valid keyword arguments are:

get_path()[source]#

Return the path of this patch.

set(*, agg_filter=, alpha=, animated=, antialiased=, capstyle=, clip_box=, clip_on=, clip_path=, color=, edgecolor=, facecolor=, fill=, gid=, hatch=, hatch_linewidth=, in_layout=, joinstyle=, label=, linestyle=, linewidth=, mouseover=, path=, path_effects=, picker=, rasterized=, sketch_params=, snap=, transform=, url=, visible=, zorder=)[source]#

Set multiple properties at once.

Supported properties are

set_path(path)[source]#

Examples using matplotlib.patches.PathPatch#