Bases: matplotlib.collections.PathCollection
A collection of 3D paths.
Create a collection of flat 3D paths with its normal vector pointed in zdir direction, and located at zs on the zdir axis. 'zs' can be a scalar or an array-like of the same length as the number of paths in the collection.
Constructor arguments are the same as for PathCollection
. In addition, keywords zs=0 and zdir='z' are available.
Also, the keyword argument depthshade is available to indicate whether or not to shade the patches in order to give the appearance of depth (default is True). This is typically desired in scatter plots.
Draw the Artist (and its children) using the given renderer.
This has no effect if the artist is not visible (Artist.get_visible
returns False).
RendererBase
subclass.
This method is overridden in the Artist subclasses.
Set multiple properties at once.
Supported properties are
Property | Description |
---|---|
unknown | |
a filter function, which takes a (m, n, 3) float array and a dpi value, and returns a (m, n, 3) array | |
array-like or scalar or None | |
bool | |
| bool or list of bools |
array-like or None | |
| |
(vmin: float, vmax: float) | |
bool | |
Patch or (Path, Transform) or None | |
| |
color or list of rgba tuples | |
bool | |
| color or list of colors or 'face' |
| color or list of colors |
str | |
{'/', '\', '|', '-', '+', 'x', 'o', 'O', '.', '*'} | |
bool | |
| |
object | |
| str or tuple or list thereof |
| unknown |
| |
(N, 2) or (2,) array-like | |
unknown | |
None or bool or float or callable | |
float | |
bool | |
| unknown |
(scale: float, length: float, randomness: float) | |
bool or None | |
unknown | |
str | |
list of str or None | |
bool | |
float |
Set whether depth shading is performed on collection members.
Whether to shade the patches in order to give the appearance of depth.
Set the linewidth(s) for the collection. lw can be a scalar or a sequence; if it is a sequence the patches will cycle through the sequence
Set the sizes of each member of the collection.
The size to set for each element of the collection. The value is the 'area' of the element.
The dpi of the canvas.
Set the position to use for z-sorting.
© 2012–2021 Matplotlib Development Team. All rights reserved.
Licensed under the Matplotlib License Agreement.
https://matplotlib.org/3.5.1/api/_as_gen/mpl_toolkits.mplot3d.art3d.Path3DCollection.html