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

Method get_mutation_aspect

lib/matplotlib/patches.py:4172–4175  ·  view source on GitHub ↗

Return the aspect ratio of the bbox mutation.

(self)

Source from the content-addressed store, hash-verified

4170 self.stale = True
4171
4172 def get_mutation_aspect(self):
4173 """Return the aspect ratio of the bbox mutation."""
4174 return (self._mutation_aspect if self._mutation_aspect is not None
4175 else 1) # backcompat.
4176
4177 def get_path(self):
4178 """Return the mutated path of the rectangle."""

Callers 2

get_pathMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected