Version 3.1.2
matplotlib

matplotlib.axis.XAxis.pick

XAxis.pick(mouseevent)

Process a pick event.

Each child artist will fire a pick event if mouseevent is over the artist and the artist has picker set.