Return a list of vertices for the path of a patch.
(patch)
| 730 | |
| 731 | |
| 732 | def _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 | |
| 740 | def patch_2d_to_3d(patch, z=0, zdir='z', axlim_clip=False): |
no test coverage detected
searching dependent graphs…