Regression in get_navigate_mode() return value #18150
Labels
Release critical
For bugs that make the library unusable (segfaults, incorrect plots, etc) and major regressions.
topic: toolbar
Milestone
Bug report
#17135 simplified pan/zoom toggling.
The values of the
_Mode
enum 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'
?The text was updated successfully, but these errors were encountered: