MCPcopy Index your code
hub / github.com/matplotlib/matplotlib / _get_patch_verts

Function _get_patch_verts

lib/mpl_toolkits/mplot3d/art3d.py:732–737  ·  view source on GitHub ↗

Return a list of vertices for the path of a patch.

(patch)

Source from the content-addressed store, hash-verified

730
731
732def _get_patch_verts(patch):
733 """Return a list of vertices for the path of a patch."""
734 trans = patch.get_patch_transform()
735 path = patch.get_path()
736 polygons = path.to_polygons(trans)
737 return polygons[0] if len(polygons) else np.array([])
738
739
740def patch_2d_to_3d(patch, z=0, zdir='z', axlim_clip=False):

Callers 1

patch_2d_to_3dFunction · 0.85

Calls 3

to_polygonsMethod · 0.80
get_patch_transformMethod · 0.45
get_pathMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…