matplotlib.axes.Axes.in_axes

Axes.in_axes(mouseevent)

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

Examples using matplotlib.axes.Axes.in_axes