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

Method transform_path_affine

site-packages/matplotlib/transforms.py:1524–1534  ·  view source on GitHub ↗

Returns a path, transformed only by the affine part of this transform. *path*: a :class:`~matplotlib.path.Path` instance. ``transform_path(path)`` is equivalent to ``transform_path_affine(transform_path_non_affine(values))``.

(self, path)

Source from the content-addressed store, hash-verified

1522 return self.transform_path_affine(self.transform_path_non_affine(path))
1523
1524 def transform_path_affine(self, path):
1525 """
1526 Returns a path, transformed only by the affine part of
1527 this transform.
1528
1529 *path*: a :class:`~matplotlib.path.Path` instance.
1530
1531 ``transform_path(path)`` is equivalent to
1532 ``transform_path_affine(transform_path_non_affine(values))``.
1533 """
1534 return self.get_affine().transform_path_affine(path)
1535
1536 def transform_path_non_affine(self, path):
1537 """

Callers 3

transform_pathMethod · 0.95
_update_line_limitsMethod · 0.45

Calls 1

get_affineMethod · 0.95

Tested by

no test coverage detected