MCPcopy Create free account
hub / github.com/ColdGrub1384/Pyto / _revalidate

Method _revalidate

site-packages/matplotlib/transforms.py:2842–2858  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

2840 self._transformed_points = None
2841
2842 def _revalidate(self):
2843 patch_path = self._patch.get_path()
2844 # Only recompute if the invalidation includes the non_affine part of
2845 # the transform, or the Patch's Path has changed.
2846 if (self._transformed_path is None or self._path != patch_path or
2847 (self._invalid & self.INVALID_NON_AFFINE ==
2848 self.INVALID_NON_AFFINE)):
2849 self._path = patch_path
2850 self._transformed_path = \
2851 self._transform.transform_path_non_affine(patch_path)
2852 self._transformed_points = \
2853 Path._fast_from_codes_and_verts(
2854 self._transform.transform_non_affine(patch_path.vertices),
2855 None,
2856 {'interpolation_steps': patch_path._interpolation_steps,
2857 'should_simplify': patch_path.should_simplify})
2858 self._invalid = 0
2859
2860
2861def nonsingular(vmin, vmax, expander=0.001, tiny=1e-15, increasing=True):

Callers

nothing calls this directly

Calls 4

get_pathMethod · 0.45
transform_non_affineMethod · 0.45

Tested by

no test coverage detected