-
-
Notifications
You must be signed in to change notification settings - Fork 8k
Implement single axis zoom #30554
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Implement single axis zoom #30554
Conversation
I note that the existing x-/y- modifiers do not really work when using my laptop's touchpad1, but this proposal does work nicely 👍 Footnotes
|
Matlab has similar behavior. Could implement something similar where the lines at the edge indicate the region the mouse needs to be in? Screen.Recording.2025-09-14.at.19.18.48.mov |
The range marker is a good visualization to indicate the difference. Though, I would like to additionally keep dashed lines as an extension of the whiskers, because that helps to ensure relevant data points are included. That said, all the visual changes would need refactoring and backend-dependent implementation as currently all visualization is done via matplotlib/lib/matplotlib/backend_tools.py Line 327 in 5b38f50
|
PR summary
Tangent to #30541
Allows for zooming in a single axis using the zoom rectangle by dragging only in one direction.
Screen.Recording.2025-09-14.at.01.37.29.mov
PR checklist