lib/mpl_toolkits/mplot3d/art3d.py
def pathpatch_2d_to_3d(pathpatch, z=0, zdir='z'):
    """Convert a PathPatch to a PathPatch3D object."""
    path = pathpatch.get_path()
    trans = pathpatch.get_patch_transform()

    mpath = trans.transform_path(path)
    pathpatch.__class__ = PathPatch3D
    pathpatch.set_3d_properties(mpath, z, zdir)
Convert a PathPatch to a PathPatch3D object.
Convert a PathPatch to a PathPatch3D object.
Convert a PathPatch to a PathPatch3D object .
def pathpatch_2d_to_3d(pathpatch, z=0, zdir='z'):
    path = pathpatch.get_path()
    trans = pathpatch.get_patch_transform()
    mpath = trans.transform_path(path)
    pathpatch.__class__ = PathPatch3D
    pathpatch.set_3d_properties(mpath, z, zdir)
def pathpatch_2d_to_3d ( pathpatch , z = 0 , zdir = 'z' ) : path = pathpatch . get_path ( ) trans = pathpatch . get_patch_transform ( ) mpath = trans . transform_path ( path ) pathpatch . __class__ = PathPatch3D pathpatch . set_3d_properties ( mpath , z , zdir )
Convert a PathPatch to a PathPatch3D object.
Convert a PathPatch to a PathPatch3D object .
"""Convert a PathPatch to a PathPatch3D object."""
pathpatch
z
zdir