matplotlib.patches.Wedge

class matplotlib.patches.Wedge(center, r, theta1, theta2, width=None, **kwargs)[源代码]

基类:matplotlib.patches.Patch

楔形贴片。

以…为中心的楔子 xy 半径中心 r 扫掠 THEA1TaTa2 (程度)如果 宽度 给出,然后从内半径画出一个部分楔形。 r - 宽度 外半径 r .

有效的关键字参数为:

财产 描述
agg_filter 一种过滤函数,它接受一个(m,n,3)浮点数组和一个dpi值,并返回一个(m,n,3)数组。
alpha 浮动或无
animated 布尔
antialiased 或者aa 未知的
capstyle “对接”、“圆形”、“突出”
clip_box Bbox
clip_on 布尔
clip_path 面片或(路径、变换)或无
color 颜色
contains 未知的
edgecolor 或ec 颜色或无或“自动”
facecolor 或fc 颜色或无
figure Figure
fill 布尔
gid STR
hatch '/'、''、''、'-'、'+'、'X'、'O'、'O'、'、'、'*'
in_layout 布尔
joinstyle 'miter'、'round'、'bevel'
label 对象
linestyle 或ls '-'、'-'、'-'、'-'、':'、'、'、'(偏移量、开/关顺序)、…
linewidth 或lw 浮动或无
path_effects AbstractPathEffect
picker 无、布尔或可呼叫
rasterized 布尔或无
sketch_params (比例:浮动,长度:浮动,随机性:浮动)
snap 布尔或无
transform Transform
url STR
visible 布尔
zorder 浮动
__init__(center, r, theta1, theta2, width=None, **kwargs)[源代码]

以…为中心的楔子 xy 半径中心 r 扫掠 THEA1TaTa2 (程度)如果 宽度 给出,然后从内半径画出一个部分楔形。 r - 宽度 外半径 r .

有效的关键字参数为:

财产 描述
agg_filter 一种过滤函数,它接受一个(m,n,3)浮点数组和一个dpi值,并返回一个(m,n,3)数组。
alpha 浮动或无
animated 布尔
antialiased 或者aa 未知的
capstyle “对接”、“圆形”、“突出”
clip_box Bbox
clip_on 布尔
clip_path 面片或(路径、变换)或无
color 颜色
contains 未知的
edgecolor 或ec 颜色或无或“自动”
facecolor 或fc 颜色或无
figure Figure
fill 布尔
gid STR
hatch '/'、''、''、'-'、'+'、'X'、'O'、'O'、'、'、'*'
in_layout 布尔
joinstyle 'miter'、'round'、'bevel'
label 对象
linestyle 或ls '-'、'-'、'-'、'-'、':'、'、'、'(偏移量、开/关顺序)、…
linewidth 或lw 浮动或无
path_effects AbstractPathEffect
picker 无、布尔或可呼叫
rasterized 布尔或无
sketch_params (比例:浮动,长度:浮动,随机性:浮动)
snap 布尔或无
transform Transform
url STR
visible 布尔
zorder 浮动
__module__ = 'matplotlib.patches'
__str__()[源代码]

返回str(self)。

get_path()[源代码]

返回此修补程序的路径。

set_center(center)[源代码]
set_radius(radius)[源代码]
set_theta1(theta1)[源代码]
set_theta2(theta2)[源代码]
set_width(width)[源代码]