MCPcopy
hub / github.com/matplotlib/matplotlib / get_path

Method get_path

lib/matplotlib/patches.py:894–896  ·  view source on GitHub ↗

Return the vertices of the rectangle.

(self)

Source from the content-addressed store, hash-verified

892 self._convert_units() # Validate the inputs.
893
894 def get_path(self):
895 """Return the vertices of the rectangle."""
896 return Path.unit_rectangle()
897
898 def _convert_units(self):
899 """Convert bounds of the rectangle."""

Callers 4

axhspanMethod · 0.95
axvspanMethod · 0.95
barMethod · 0.95
test_clipped_to_axesFunction · 0.95

Calls 1

unit_rectangleMethod · 0.80

Tested by 1

test_clipped_to_axesFunction · 0.76