### Navigation

- index
- modules |
- next |
- previous |
- home|
- examples|
- tutorials|
- pyplot|
- docs »
- The Matplotlib API »
- mplot3d API »

# mpl_toolkits.mplot3d.art3d.pathpatch_2d_to_3d

`mpl_toolkits.mplot3d.art3d.``pathpatch_2d_to_3d`(pathpatch, z=0, zdir=’z’)

  Convert a PathPatch to a PathPatch3D object.

## Examples using `mpl_toolkits.mplot3d.art3d.pathpatch_2d_to_3d`

Draw flat objects in 3D plot