mpl_toolkits.mplot3d.art3d.Poly3DCollection¶
-
class
mpl_toolkits.mplot3d.art3d.Poly3DCollection(verts, *args, zsort='average', **kwargs)[source]¶ Bases:
matplotlib.collections.PolyCollectionA collection of 3D polygons.
Create a Poly3DCollection.
verts should contain 3D coordinates.
Keyword arguments: zsort, see set_zsort for options.
Note that this class does a bit of magic with the _facecolors and _edgecolors properties.
-
set_alpha(alpha)[source]¶ Set the alpha value used for blending - not supported on all backends.
Parameters: alpha : float or None
-
set_edgecolor(colors)[source]¶ Set the edgecolor(s) of the collection.
Parameters: c : color or sequence of colors or 'face'
The collection edgecolor(s). If a sequence, the patches cycle through it. If 'face', match the facecolor.
-