matplotlib.axes.Axes.in_axes

Axes.in_axes(self, mouseevent)

Return True if the given mouseevent (in display coords) is in the Axes

Examples using matplotlib.axes.Axes.in_axes