Version 3.0.3
matplotlib
Fork me on GitHub

matplotlib.axis.YAxis.contains

YAxis.contains(mouseevent)[source]

Test whether the mouse event occurred in the y axis.

Returns True | False