You are reading an old version of the documentation (v2.2.3). For the latest version see https://matplotlib.org/stable/api/_as_gen/mpl_toolkits.mplot3d.art3d.line_2d_to_3d.html
Version 2.2.3
matplotlib
Fork me on GitHub

mpl_toolkits.mplot3d.art3d.line_2d_to_3d

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

Convert a 2D line to 3D.