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

Method transform_non_affine

lib/matplotlib/transforms.py:1592–1618  ·  view source on GitHub ↗

Apply only the non-affine part of this transformation. ``transform(values)`` is always equivalent to ``transform_affine(transform_non_affine(values))``. In non-affine transformations, this is generally equivalent to ``transform(values)``. In affine transfo

(self, values)

Source from the content-addressed store, hash-verified

1590 return self.get_affine().transform(values)
1591
1592 def transform_non_affine(self, values):
1593 """
1594 Apply only the non-affine part of this transformation.
1595
1596 ``transform(values)`` is always equivalent to
1597 ``transform_affine(transform_non_affine(values))``.
1598
1599 In non-affine transformations, this is generally equivalent to
1600 ``transform(values)``. In affine transformations, this is
1601 always a no-op.
1602
1603 Parameters
1604 ----------
1605 values : array
1606 The input values as an array of length
1607 :attr:`~matplotlib.transforms.Transform.input_dims` or
1608 shape (N, :attr:`~matplotlib.transforms.Transform.input_dims`).
1609
1610 Returns
1611 -------
1612 array
1613 The output values as an array of length
1614 :attr:`~matplotlib.transforms.Transform.output_dims` or shape
1615 (N, :attr:`~matplotlib.transforms.Transform.output_dims`),
1616 depending on the input.
1617 """
1618 return values
1619
1620 def transform_bbox(self, bbox):
1621 """

Callers 5

transformMethod · 0.95
transform_non_affineMethod · 0.45
transform_non_affineMethod · 0.45
_revalidateMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected