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
Line2D
to aLine3D
object.- Parameters:
- zsfloat
The location along the zdir axis in 3D space to position the line.
- zdir{'x', 'y', 'z'}
Plane to plot line orthogonal to. Default: 'z'. See
get_dir_vector
for a description of the values.- axlim_clipbool, default: False
Whether to hide lines with an endpoint outside the axes view limits.