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

Method get_mutation_aspect

lib/matplotlib/patches.py:4602–4605  ·  view source on GitHub ↗

Return the aspect ratio of the bbox mutation.

(self)

Source from the content-addressed store, hash-verified

4600 self.stale = True
4601
4602 def get_mutation_aspect(self):
4603 """Return the aspect ratio of the bbox mutation."""
4604 return (self._mutation_aspect if self._mutation_aspect is not None
4605 else 1) # backcompat.
4606
4607 def get_path(self):
4608 """Return the path of the arrow in the data coordinates."""

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected