mpl_toolkits.mplot3d.art3d.patch_collection_2d_to_3d#
- mpl_toolkits.mplot3d.art3d.patch_collection_2d_to_3d(col, zs=0, zdir='z', depthshade=True)[源代码][源代码]#
将
PatchCollection转换为Patch3DCollection对象(或将PathCollection转换为Path3DCollection对象)。- 参数:
- col :
PatchCollection或PathCollectionPatchCollection 或 PathCollection 要转换的集合。
- zs浮点数或浮点数数组
在 zdir 轴上放置补丁的集合中的位置或位置。默认值:0。
- zdir{'x', 'y', 'z'}
放置补丁的轴。默认值:“z”。有关值的描述,请参见
get_dir_vector。- depthshadebool, 默认: True
是否为补丁添加阴影以增加深度感。
- col :