Bug summary
- Open a figure
- Press 'o' and 'p' to toggle the Pan/Zoom and Zoom-to-rect tools
- Notice that the buttons in the UI do not update state
- Click a button to toggle it, the button toggles, but is still not in sync with the currently selected tool
Code for reproduction
Actual outcome
'o' and 'p' do not update the UI's button state.
Expected outcome
The button state of the Pan/Zoom and Zoom-to-rect tools always matches the actual selected tool, like it does in qtagg.
Additional information
No response
Operating system
macOS 14.7
Matplotlib Version
dev / 3.11
Matplotlib Backend
macOS
Python version
Python 3.14.5
Jupyter version
No response
Installation
None
Bug summary
Code for reproduction
Actual outcome
'o' and 'p' do not update the UI's button state.
Expected outcome
The button state of the Pan/Zoom and Zoom-to-rect tools always matches the actual selected tool, like it does in qtagg.
Additional information
No response
Operating system
macOS 14.7
Matplotlib Version
dev / 3.11
Matplotlib Backend
macOS
Python version
Python 3.14.5
Jupyter version
No response
Installation
None