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

Method in_axes

lib/matplotlib/axes/_base.py:2766–2770  ·  view source on GitHub ↗

Return whether the given event (in display coords) is in the Axes.

(self, mouseevent)

Source from the content-addressed store, hash-verified

2764 for axis_name, data in datasets]
2765
2766 def in_axes(self, mouseevent):
2767 """
2768 Return whether the given event (in display coords) is in the Axes.
2769 """
2770 return self.patch.contains(mouseevent)[0]
2771
2772 get_autoscalex_on = _axis_method_wrapper("xaxis", "_get_autoscale_on")
2773 get_autoscaley_on = _axis_method_wrapper("yaxis", "_get_autoscale_on")

Callers 3

_pressMethod · 0.80
_pressMethod · 0.80
_ax_filterMethod · 0.80

Calls 1

containsMethod · 0.45

Tested by

no test coverage detected