Bug report
#17135 simplified pan/zoom toggling.
The values of the _Mode enum are returned via get_navigate_mode() (https://matplotlib.org/devdocs/api/_as_gen/matplotlib.axes.Axes.get_navigate_mode.html).
This is a breaking API change. Before the returned values were 'PAN', 'ZOOM', or None (as is still documented). Now, these values are 'pan/zoom', 'zoom rect' and ''. Ping @anntzer I don't see if these values translate 1:1. Why is _Mode.PAN = 'pan/zoom'?
Bug report
#17135 simplified pan/zoom toggling.
The values of the
_Modeenum are returned viaget_navigate_mode()(https://matplotlib.org/devdocs/api/_as_gen/matplotlib.axes.Axes.get_navigate_mode.html).This is a breaking API change. Before the returned values were
'PAN','ZOOM', orNone(as is still documented). Now, these values are'pan/zoom','zoom rect'and''. Ping @anntzer I don't see if these values translate 1:1. Why is_Mode.PAN = 'pan/zoom'?