lib/mpl_toolkits/mplot3d/art3d.py
def poly_collection_2d_to_3d(col, zs=0, zdir='z'):
    """Convert a PolyCollection to a Poly3DCollection object."""
    segments_3d = paths_to_3d_segments(col.get_paths(), zs, zdir)
    col.__class__ = Poly3DCollection
    col.set_verts(segments_3d)
    col.set_3d_properties()
Convert a PolyCollection to a Poly3DCollection object.
Convert a PolyCollection to a Poly3DCollection object.
Convert a PolyCollection to a Poly3DCollection object .
def poly_collection_2d_to_3d(col, zs=0, zdir='z'):
    segments_3d = paths_to_3d_segments(col.get_paths(), zs, zdir)
    col.__class__ = Poly3DCollection
    col.set_verts(segments_3d)
    col.set_3d_properties()
def poly_collection_2d_to_3d ( col , zs = 0 , zdir = 'z' ) : segments_3d = paths_to_3d_segments ( col . get_paths ( ) , zs , zdir ) col . __class__ = Poly3DCollection col . set_verts ( segments_3d ) col . set_3d_properties ( )
Convert a PolyCollection to a Poly3DCollection object.
Convert a PolyCollection to a Poly3DCollection object .
"""Convert a PolyCollection to a Poly3DCollection object."""
col
zs
zdir