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

Method _set_inaxes

lib/matplotlib/backend_bases.py:1305–1312  ·  view source on GitHub ↗
(self, inaxes, xy=None)

Source from the content-addressed store, hash-verified

1303 # accurate to pass the untruncated float x, y values passed to the ctor.
1304
1305 def _set_inaxes(self, inaxes, xy=None):
1306 self.inaxes = inaxes
1307 if inaxes is not None:
1308 try:
1309 self.xdata, self.ydata = inaxes.transData.inverted().transform(
1310 xy if xy is not None else (self.x, self.y))
1311 except ValueError:
1312 pass
1313
1314
1315class MouseButton(IntEnum):

Callers 2

__init__Method · 0.95
_mouse_handlerFunction · 0.95

Calls 2

transformMethod · 0.45
invertedMethod · 0.45

Tested by

no test coverage detected