matplotlib.patches.PathPatch#
- class matplotlib.patches.PathPatch(path, **kwargs)[Quelle]#
Bases:
PatchEin allgemeiner Polykurven-Pfad-Patch.
path ist ein
PathObjekt.Gültige Schlüsselwortargumente sind
Eigenschaft
Beschreibung
eine Filterfunktion, die ein (m, n, 3) Float-Array und einen dpi-Wert entgegennimmt und ein (m, n, 3) Array und zwei Offsets von der linken unteren Ecke des Bildes zurückgibt
unknown
bool
antialiasedoderaabool oder None
CapStyleoder {'butt', 'projecting', 'round'}BboxBaseoder Nonebool
Patch oder (Path, Transform) oder None
Farbe oder None
Farbe oder None
bool
str
{'/', '\', '|', '-', '+', 'x', 'o', 'O', '.', '*'}
unknown
bool
JoinStyleoder {'miter', 'round', 'bevel'}object
{'-', '--', '-.', ':', '', (offset, on-off-seq), ...}
float oder None
bool
Liste von
AbstractPathEffectNone oder bool oder float oder callable
bool
(scale: float, length: float, randomness: float)
bool oder None
str
bool
float
- 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>, hatch_linewidth=<UNSET>, in_layout=<UNSET>, joinstyle=<UNSET>, label=<UNSET>, linestyle=<UNSET>, linewidth=<UNSET>, mouseover=<UNSET>, path=<UNSET>, path_effects=<UNSET>, picker=<UNSET>, rasterized=<UNSET>, sketch_params=<UNSET>, snap=<UNSET>, transform=<UNSET>, url=<UNSET>, visible=<UNSET>, zorder=<UNSET>)[Quelle]#
Setzt mehrere Eigenschaften auf einmal.
Unterstützte Eigenschaften sind
Eigenschaft
Beschreibung
eine Filterfunktion, die ein (m, n, 3) Float-Array und einen dpi-Wert entgegennimmt und ein (m, n, 3) Array und zwei Offsets von der linken unteren Ecke des Bildes zurückgibt
float oder None
bool
antialiasedoderaabool oder None
CapStyleoder {'butt', 'projecting', 'round'}BboxBaseoder Nonebool
Patch oder (Path, Transform) oder None
Farbe oder None
Farbe oder None
bool
str
{'/', '\', '|', '-', '+', 'x', 'o', 'O', '.', '*'}
unknown
bool
JoinStyleoder {'miter', 'round', 'bevel'}object
{'-', '--', '-.', ':', '', (offset, on-off-seq), ...}
float oder None
bool
unknown
Liste von
AbstractPathEffectNone oder bool oder float oder callable
bool
(scale: float, length: float, randomness: float)
bool oder None
str
bool
float
Beispiele zur Verwendung von matplotlib.patches.PathPatch#
Histogramme mit Rechtecken und PolyCollections erstellen