mpl_toolkits.mplot3d.art3d.PathPatch3D

class mpl_toolkits.mplot3d.art3d.PathPatch3D(path, *, zs=(), zdir='z', **kwargs)[源代码]

基类:mpl_toolkits.mplot3d.art3d.Patch3D

3D PathPatch对象。

支持以下Kwarg属性

财产 描述
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__(path, *, zs=(), zdir='z', **kwargs)[源代码]

支持以下Kwarg属性

财产 描述
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__ = 'mpl_toolkits.mplot3d.art3d'
do_3d_projection(renderer)[源代码]
set_3d_properties(path, zs=0, zdir='z')[源代码]

使用实例 mpl_toolkits.mplot3d.art3d.PathPatch3D