You are reading documentation for the unreleased version of Matplotlib. Try searching for the released version of this page instead?
Applications are open for the 2018 John Hunter Matplotlib Summer Fellowship. Apply now!
Version 2.2.2.post1705+gc85f8217d
matplotlib
Fork me on GitHub

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)[source]

Convert a PatchCollection into a Patch3DCollection object (or a PathCollection into a Path3DCollection object).

Parameters:
za

The location or locations to place the patches in the collection along the zdir axis. Default: 0.

zdir

The axis in which to place the patches. Default: "z".

depthshade

Whether to shade the patches to give a sense of depth. Default: True.