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

Method get_path

lib/matplotlib/patches.py:4607–4614  ·  view source on GitHub ↗

Return the path of the arrow in the data coordinates.

(self)

Source from the content-addressed store, hash-verified

4605 else 1) # backcompat.
4606
4607 def get_path(self):
4608 """Return the path of the arrow in the data coordinates."""
4609 # The path is generated in display coordinates, then converted back to
4610 # data coordinates.
4611 _path, fillable = self._get_path_in_displaycoord()
4612 if np.iterable(fillable):
4613 _path = Path.make_compound_path(*_path)
4614 return self.get_transform().inverted().transform_path(_path)
4615
4616 def _get_path_in_displaycoord(self):
4617 """Return the mutated path of the arrow in display coordinates."""

Callers

nothing calls this directly

Calls 5

make_compound_pathMethod · 0.80
transform_pathMethod · 0.45
invertedMethod · 0.45
get_transformMethod · 0.45

Tested by

no test coverage detected