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 a
Line2Dto aLine3Dobject.- 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'.See
get_dir_vectorfor 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