mpl_toolkits.mplot3d.art3d.
Poly3DCollection
(verts, *args, zsort=True, **kwargs)[source]¶Bases: matplotlib.collections.PolyCollection
A 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 transparencies of the collection.
Parameters: |
|
---|
set_edgecolor
(colors)[source]¶Set the edgecolor(s) of the collection. c can be a matplotlib color spec (all patches have same color), or a sequence of specs; if it is a sequence the patches will cycle through the sequence.
If c is 'face', the edge color will always be the same as the face color. If it is 'none', the patch boundary will not be drawn.
Parameters: |
|
---|
set_facecolor
(colors)[source]¶Set the facecolor(s) of the collection. c can be a matplotlib color spec (all patches have same color), or a sequence of specs; if it is a sequence the patches will cycle through the sequence.
If c is 'none', the patch will not be filled.
Parameters: |
|
---|
set_zsort
(zsort)[source]¶Sets the calculation method for the z-order.
Parameters: |
|
---|