You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug]: macOS backend UI doesn't update on 'o' and 'p' shortcuts #31933
(Ideally, I want to get rid of the hardcoded panButton and zoomButton in the Obj-C layer. I'm trying to follow the path that MEP22 lays out to make the eventual migration easier!)
Activity
QuLogic commentedon Jun 23, 2026
It looks like Qt just checks
self.modeinpanandzoomafter calling the superclass method:matplotlib/lib/matplotlib/backends/backend_qt.py
Lines 901 to 914 in 1cba207
On a related note, it looks like the macosx backend doesn't implement
NavigationToolbar2.set_history_buttons.iccir commentedon Jun 23, 2026
I got it fixed in my local branch by doing something similar:
Where self.update_selected_item() eventually calls into the Objective-C layer.
Thanks for letting me know about
set_history_buttons()! I'll get that wired up!iccir commentedon Jun 23, 2026
(Ideally, I want to get rid of the hardcoded
panButtonandzoomButtonin the Obj-C layer. I'm trying to follow the path that MEP22 lays out to make the eventual migration easier!)iccir commentedon Jun 27, 2026
Fixed in my
macosx-reworkbranch.