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