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

Method _convert_xy_units

lib/matplotlib/patches.py:759–763  ·  view source on GitHub ↗

Convert x and y units for a tuple (x, y).

(self, xy)

Source from the content-addressed store, hash-verified

757 return self.get_path().get_extents(self.get_transform())
758
759 def _convert_xy_units(self, xy):
760 """Convert x and y units for a tuple (x, y)."""
761 x = self.convert_xunits(xy[0])
762 y = self.convert_yunits(xy[1])
763 return x, y
764
765
766class Shadow(Patch):

Callers 2

_transform_vertsMethod · 0.80

Calls 2

convert_xunitsMethod · 0.80
convert_yunitsMethod · 0.80

Tested by

no test coverage detected