mpl_toolkits.mplot3d.art3d.line_2d_to_3d#

mpl_toolkits.mplot3d.art3d.line_2d_to_3d(line,zs=0,zdir='z',axlim_clip=False)[source]#

Convert aLine2D to aLine3D object.

Parameters:
zsfloat

The location along thezdir axis in 3D space to position the line.

zdir{'x', 'y', 'z'}

Plane to plot line orthogonal to. Default: 'z'.Seeget_dir_vector for a description of the values.

axlim_clipbool, default: False

Whether to hide lines with an endpoint outside the axes view limits.

Added in version 3.10.

On this page