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

Method transform_path_non_affine

lib/matplotlib/transforms.py:1672–1681  ·  view source on GitHub ↗

Apply the non-affine part of this transform to `.Path` *path*, returning a new `.Path`. ``transform_path(path)`` is equivalent to ``transform_path_affine(transform_path_non_affine(values))``.

(self, path)

Source from the content-addressed store, hash-verified

1670 return self.get_affine().transform_path_affine(path)
1671
1672 def transform_path_non_affine(self, path):
1673 """
1674 Apply the non-affine part of this transform to `.Path` *path*,
1675 returning a new `.Path`.
1676
1677 ``transform_path(path)`` is equivalent to
1678 ``transform_path_affine(transform_path_non_affine(values))``.
1679 """
1680 x = self.transform_non_affine(path.vertices)
1681 return Path._fast_from_codes_and_verts(x, path.codes, path)
1682
1683 def transform_angles(self, angles, pts, radians=False, pushoff=1e-5):
1684 """

Callers 6

transform_pathMethod · 0.95
_revalidateMethod · 0.45
drawMethod · 0.45
get_datalimMethod · 0.45
_prepare_pointsMethod · 0.45

Calls 2

transform_non_affineMethod · 0.95

Tested by

no test coverage detected