matplotlib.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 radius r - width to outer radius r.
Valid keyword arguments are:
Property Descriptionagg_filter
a filter function, which takes a (m, n, 3) float array and a dpi value, and returns a (m, n, 3) arrayalpha
float or Noneanimated
boolantialiased
or aa unknowncapstyle
{'butt', 'round', 'projecting'}clip_box
Bbox
clip_on
boolclip_path
Patch or (Path, Transform) or Nonecolor
colorcontains
unknownedgecolor
or ec color or None or 'auto'facecolor
or fc color or Nonefigure
Figure
fill
boolgid
strhatch
{'/', '\', '|', '-', '+', 'x', 'o', 'O', '.', '*'}in_layout
booljoinstyle
{'miter', 'round', 'bevel'}label
objectlinestyle
or ls {'-', '--', '-.', ':', '', (offset, on-off-seq), ...}linewidth
or lw float or Nonepath_effects
AbstractPathEffect
picker
None or bool or callablerasterized
bool or Nonesketch_params
(scale: float, length: float, randomness: float)snap
bool or Nonetransform
Transform
url
strvisible
boolzorder
float
__init__
(self, center, r, theta1, theta2, width=None, **kwargs)[source]¶
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 radius r - width to outer radius r.
Valid keyword arguments are:
Property Descriptionagg_filter
a filter function, which takes a (m, n, 3) float array and a dpi value, and returns a (m, n, 3) arrayalpha
float or Noneanimated
boolantialiased
or aa unknowncapstyle
{'butt', 'round', 'projecting'}clip_box
Bbox
clip_on
boolclip_path
Patch or (Path, Transform) or Nonecolor
colorcontains
unknownedgecolor
or ec color or None or 'auto'facecolor
or fc color or Nonefigure
Figure
fill
boolgid
strhatch
{'/', '\', '|', '-', '+', 'x', 'o', 'O', '.', '*'}in_layout
booljoinstyle
{'miter', 'round', 'bevel'}label
objectlinestyle
or ls {'-', '--', '-.', ':', '', (offset, on-off-seq), ...}linewidth
or lw float or Nonepath_effects
AbstractPathEffect
picker
None or bool or callablerasterized
bool or Nonesketch_params
(scale: float, length: float, randomness: float)snap
bool or Nonetransform
Transform
url
strvisible
boolzorder
float
__module__
= 'matplotlib.patches'¶
__str__
(self)[source]¶
Return str(self).
get_path
(self)[source]¶
Return the path of this patch.
set_center
(self, center)[source]¶
set_radius
(self, radius)[source]¶
set_theta1
(self, theta1)[source]¶
set_theta2
(self, theta2)[source]¶
set_width
(self, width)[source]¶
matplotlib.patches.Wedge
¶
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4