matplotlib.axes
Axes.
get_navigate_mode
Get the navigation toolbar button status: 'PAN', 'ZOOM', or None