Create a new :class:`TransformedPatchPath` from the given :class:`~matplotlib.path.Patch`.
(self, patch)
| 2825 | updated when the non-affine part of the transform or the patch changes. |
| 2826 | """ |
| 2827 | def __init__(self, patch): |
| 2828 | """ |
| 2829 | Create a new :class:`TransformedPatchPath` from the given |
| 2830 | :class:`~matplotlib.path.Patch`. |
| 2831 | """ |
| 2832 | TransformNode.__init__(self) |
| 2833 | |
| 2834 | transform = patch.get_transform() |
| 2835 | self._patch = patch |
| 2836 | self._transform = transform |
| 2837 | self.set_children(transform) |
| 2838 | self._path = patch.get_path() |
| 2839 | self._transformed_path = None |
| 2840 | self._transformed_points = None |
| 2841 | |
| 2842 | def _revalidate(self): |
| 2843 | patch_path = self._patch.get_path() |
nothing calls this directly
no test coverage detected