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

Method transform_affine

lib/matplotlib/transforms.py:1908–1913  ·  view source on GitHub ↗
(self, values)

Source from the content-addressed store, hash-verified

1906 return tuple(mtx[:2].swapaxes(0, 1).flat)
1907
1908 def transform_affine(self, values):
1909 mtx = self.get_matrix()
1910 if isinstance(values, np.ma.MaskedArray):
1911 tpoints = affine_transform(values.data, mtx)
1912 return np.ma.MaskedArray(tpoints, mask=np.ma.getmask(values))
1913 return affine_transform(values, mtx)
1914
1915 if DEBUG:
1916 _transform_affine = transform_affine

Callers

nothing calls this directly

Calls 1

get_matrixMethod · 0.45

Tested by

no test coverage detected