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
Add zoom_factory to matplotlib - where to put? #18159
I suspect that we would want to have this enabled by default on the zoom tool?
Do you mean on zoom to rect? I think that adding this to the panning mode feels the most natural:
though it will be good to keep this available outside of a toolbar button to allow greater control. For instance I use this with middle click to pan and left click to use the lasso tool.
This issue has been marked "inactive" because it has been 365 days since the last comment. If this issue is still present in recent Matplotlib releases, or the feature request is still wanted, please leave a comment and this label will be removed. If there are no updates in another 30 days, this issue will be automatically closed, but you are free to re-open or create a new issue if needed. We value issue reports, and this procedure is meant to help us resurface and prioritize issues that have not been addressed yet, not make them disappear. Thanks for your help!
Activity
tacaswell commentedon Aug 3, 2020
It should not go in pyplot as we want this available to people who avoid the global state tracking of pyplot.
This should probably go in https://github.com/matplotlib/matplotlib/blob/master/lib/matplotlib/backend_tools.py and target the MEP22 style toolbars. I suspect that we would want to have this enabled by default on the zoom tool?
ianhi commentedon Aug 3, 2020
Do you mean on

zoom to rect? I think that adding this to the panning mode feels the most natural:though it will be good to keep this available outside of a toolbar button to allow greater control. For instance I use this with middle click to pan and left click to use the lasso tool.
ianhi commentedon Jun 17, 2021
This would be fixed by #20317
github-actions commentedon Mar 16, 2026
This issue has been marked "inactive" because it has been 365 days since the last comment. If this issue is still present in recent Matplotlib releases, or the feature request is still wanted, please leave a comment and this label will be removed. If there are no updates in another 30 days, this issue will be automatically closed, but you are free to re-open or create a new issue if needed. We value issue reports, and this procedure is meant to help us resurface and prioritize issues that have not been addressed yet, not make them disappear. Thanks for your help!
timhoffm commentedon Mar 16, 2026
Fixed by #30405.