mpl_toolkits.mplot3d.axes3d.Axes3D.add_collection3d#
- Axes3D.add_collection3d(col, zs=0, zdir='z', autolim=True, *, axlim_clip=False)[source]#
Add a 3D collection object to the plot.
2D collection types are converted to a 3D version by modifying the object and adding z coordinate information, zs and zdir.
Supported 2D collection types are:
PatchCollection
(currently not supporting autolim)
- Parameters:
- col
Collection
A 2D collection object.
- zsfloat or array-like, default: 0
The z-positions to be used for the 2D objects.
- zdir{'x', 'y', 'z'}, default: 'z'
The direction to use for the z-positions.
- autolimbool, default: True
Whether to update the data limits.
- axlim_clipbool, default: False
Whether to hide the scatter points outside the axes view limits.
Added in version 3.10.
- col