Return a transformed copy of the path. See Also -------- matplotlib.transforms.TransformedPath A specialized path class that will cache the transformed result and automatically update when the transform changes.
(self, transform)
| 506 | return pth |
| 507 | |
| 508 | def transformed(self, transform): |
| 509 | """ |
| 510 | Return a transformed copy of the path. |
| 511 | |
| 512 | See Also |
| 513 | -------- |
| 514 | matplotlib.transforms.TransformedPath |
| 515 | A specialized path class that will cache the transformed result and |
| 516 | automatically update when the transform changes. |
| 517 | """ |
| 518 | return Path(transform.transform(self.vertices), self.codes, |
| 519 | self._interpolation_steps) |
| 520 | |
| 521 | def contains_point(self, point, transform=None, radius=0.0): |
| 522 | """ |