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
[ENH]: Fix aspect ratio for zoom box with 'ctrl' key. #23451
When zooming in with the toolbar box select, you can constrain the zoom to the 'x' or 'y' directions by pressing those keys. It would be great if you could enforce an equal aspect ratio for the selection box, which to follow the convention of the pan tool would be done with the 'ctrl'/'control' key as a modifier. This should roll in on 2D and 3D plots.
Related: The logic for keeping the aspect ratio is implemented in #30405. However, maybe it is sufficient to take the aspect ratio from the canvas size?
Activity
timhoffm commentedon Sep 15, 2025
Related: The logic for keeping the aspect ratio is implemented in #30405. However, maybe it is sufficient to take the aspect ratio from the canvas size?