You are reading documentation for the unreleased version of Matplotlib. Try searching for the released version of this page instead?
Version 2.1.1.post1120+g407a460
matplotlib
Fork me on GitHub

This Page

mpl_toolkits.mplot3d.art3d.line_2d_to_3d

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

Convert a 2D line to 3D.