matplotlib.axes
Axes.
contains_point
Return whether point (pair of pixel coordinates) is inside the axes patch.