lib/mpl_toolkits/mplot3d/art3d.py
def patch_collection_2d_to_3d(col, zs=0, zdir='z'):
    """Convert a PatchCollection to a Patch3DCollection object."""

    # The tricky part here is that there are several classes that are
    # derived from PatchCollection. We need to use the right draw method.
    col._old_draw = col.draw

    col.__class__ = Patch3DCollection
    col.set_3d_properties(zs, zdir)
Convert a PatchCollection to a Patch3DCollection object.
Convert a PatchCollection to a Patch3DCollection object.
Convert a PatchCollection to a Patch3DCollection object .
def patch_collection_2d_to_3d(col, zs=0, zdir='z'):
    col._old_draw = col.draw
    col.__class__ = Patch3DCollection
    col.set_3d_properties(zs, zdir)
def patch_collection_2d_to_3d ( col , zs = 0 , zdir = 'z' ) : col . _old_draw = col . draw col . __class__ = Patch3DCollection col . set_3d_properties ( zs , zdir )
Convert a PatchCollection to a Patch3DCollection object.
Convert a PatchCollection to a Patch3DCollection object .
"""Convert a PatchCollection to a Patch3DCollection object.""" # The tricky part here is that there are several classes that are # derived from PatchCollection. We need to use the right draw method.
col
zs
zdir