You are reading an old version of the documentation (v2.2.4). For the latest version see https://matplotlib.org/stable/
Version 2.2.4
matplotlib
Fork me on GitHub

matplotlib.axis.XTick.get_cursor_data

XTick.get_cursor_data(event)

Get the cursor data for a given event.