mpl_toolkits.mplot3d.axes3d.Axes3D.add_collection3d#

Axes3D.add_collection3d(col, zs=0, zdir='z')[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.

Supported are:

  • PolyCollection

  • LineCollection

  • PatchCollection