Text of matplotlib.org › 3.0.2 › api › _as_gen › mpl_toolkits.mplot3d.art3d.Poly3DCollection.… as Styx crawled it on Nov 20, 2026. The page may have changed since. Only its words are kept, without pictures or layout.

Open the live page

mpl_toolkits.mplot3d.art3d.Poly3DCollection — Matplotlib 3.0.2 documentation

You are reading an old version of the documentation (v3.0.2). For the latest version see https://matplotlib.org/stable/api/_as_gen/mpl_toolkits.mplot3d.art3d.Poly3DCollection.html Version 3.0.2 Fork me on GitHub Navigation index modules | next | previous | home | examples | tutorials | API | docs » The Matplotlib API » mplot3d API » Quick search Related Topics Documentation overview The Matplotlib API mplot3d API Previous: mpl_toolkits.mplot3d.art3d.PathPatch3D Next: mpl_toolkits.mplot3d.art3d.Text3D Show Page Source mpl_toolkits.mplot3d.art3d.Poly3DCollection ¶ class 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. do_3d_projection ( renderer ) [source] ¶ Perform the 3D projection for this object. get_edgecolor ( ) [source] ¶ get_facecolor ( ) [source] ¶ get_vector ( segments3d ) [source] ¶ Optimize points for projection. set_3d_properties ( ) [source] ¶ set_alpha ( alpha ) [source] ¶ Set the alpha transparencies of the collection.

Parameters: alpha : float or None 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: c : color or sequence of colors 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: c : color or sequence of colors set_sort_zpos ( val ) [source] ¶ Set the position to use for z-sorting. set_verts ( verts , closed=True ) [source] ¶ Set 3D vertices. set_verts_and_codes ( verts , codes ) [source] ¶ Sets 3D vertices with path codes. set_zsort ( zsort ) [source] ¶ Sets the calculation method for the z-order. Parameters: zsort : bool or {'average', 'min', 'max'} For 'average', 'min', 'max' the z-order is determined by applying the function to the z-coordinates of the vertices in the viewer's coordinate system.

True is equivalent to 'average'. © Copyright 2002 - 2012 John Hunter, Darren Dale, Eric Firing, Michael Droettboom and the Matplotlib development team; 2012 - 2018 The Matplotlib development team. Last updated on Nov 11, 2018. Created using Sphinx 1.8.1. Doc version v3.0.2-2-g91e2d00a8.