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

Method get_affine

lib/matplotlib/transforms.py:2491–2497  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

2489 self._a.transform_path(path))
2490
2491 def get_affine(self):
2492 # docstring inherited
2493 if not self._b.is_affine:
2494 return self._b.get_affine()
2495 else:
2496 return Affine2D(np.dot(self._b.get_affine().get_matrix(),
2497 self._a.get_affine().get_matrix()))
2498
2499 def inverted(self):
2500 # docstring inherited

Callers 1

transform_affineMethod · 0.95

Calls 4

Affine2DClass · 0.85
dotMethod · 0.80
get_affineMethod · 0.45
get_matrixMethod · 0.45

Tested by

no test coverage detected