Title: [ENH]: Zooming single axis · Issue #30541 · matplotlib/matplotlib · GitHub
Open Graph Title: [ENH]: Zooming single axis · Issue #30541 · matplotlib/matplotlib
X Title: [ENH]: Zooming single axis · Issue #30541 · matplotlib/matplotlib
Description: Problem Now that #30405 is merged, we can think about extending the functionality for single-axis zoom. Proposed solution Possible approaches: Use additional modifiers: I don't think there are standard conventions as most applications ha...
Open Graph Description: Problem Now that #30405 is merged, we can think about extending the functionality for single-axis zoom. Proposed solution Possible approaches: Use additional modifiers: I don't think there are stan...
X Description: Problem Now that #30405 is merged, we can think about extending the functionality for single-axis zoom. Proposed solution Possible approaches: Use additional modifiers: I don't think there are ...
Opengraph URL: https://github.com/matplotlib/matplotlib/issues/30541
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[ENH]: Zooming single axis","articleBody":"### Problem\n\nNow that #30405 is merged, we can think about extending the functionality for single-axis zoom.\n\n### Proposed solution\n\n Possible approaches:\n\n- **Use additional modifiers:** I don't think there are standard conventions as most applications have fixes aspects and don't need to zoom in different axis. My proposal would be\n - `Ctrl+Wheel` zoom both axis\n - `Shift+Wheel` zoom y\n - `Alt+Wheel` zoom x\n Rationale: adding additional modifiers `Ctrl+Shift+Wheel` is cumbersome to use and does not add another benefit, so just replace the modifier. Mnemonic from the keyboard layout\n ```\n \u003cShift\u003e\n \u003cCtrl\u003e \u003cAlt\u003e\n ```\n so `Shift` is on the vertical `Alt` is on the horizontal.\n\n- **Use special regions:** Limit scroll to one direction for `Ctrl+Wheel` if the cursor is over an axis. This would be quite neat, but I think we do not have a good \"over an axis definition. Picking the spine is too fiddly. We'd need area outside the axis includding the ticks. Something like this. But I think we have no efficent way to determine that.\n \u003cimg width=\"582\" height=\"439\" alt=\"Image\" src=\"https://github.com/user-attachments/assets/70d85e25-e039-46b5-9ffb-2bb22b867d2a\" /\u003e\n\nFeedback welcome.","author":{"url":"https://github.com/timhoffm","@type":"Person","name":"timhoffm"},"datePublished":"2025-09-10T08:20:24.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":13},"url":"https://github.com/30541/matplotlib/issues/30541"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:0b652b4a-78f8-feb3-9138-97c5cbe39130 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B7FC:31E744:61EC69:851E96:6A51EBA9 |
| html-safe-nonce | 2534368bdf77ce417fc10174480e5a400f28818f3688679ff467863974cec3be |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCN0ZDOjMxRTc0NDo2MUVDNjk6ODUxRTk2OjZBNTFFQkE5IiwidmlzaXRvcl9pZCI6IjY1MzIyNDc0MjQ3NjkwNTk3NTMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 950b30eb4008c96c85ab0f7c066a64cb7ea84b24a2fe68cbba99a05ffd5c1418 |
| hovercard-subject-tag | issue:3401450267 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/matplotlib/matplotlib/30541/issue_layout |
| twitter:image | https://opengraph.githubassets.com/3826e8654bc388288c9ef570b91c9c606c8eb2b79adf4634bf63cb796b58dd07/matplotlib/matplotlib/issues/30541 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/3826e8654bc388288c9ef570b91c9c606c8eb2b79adf4634bf63cb796b58dd07/matplotlib/matplotlib/issues/30541 |
| og:image:alt | Problem Now that #30405 is merged, we can think about extending the functionality for single-axis zoom. Proposed solution Possible approaches: Use additional modifiers: I don't think there are stan... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | timhoffm |
| hostname | github.com |
| expected-hostname | github.com |
| None | b9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb |
| turbo-cache-control | no-preview |
| go-import | github.com/matplotlib/matplotlib git https://github.com/matplotlib/matplotlib.git |
| octolytics-dimension-user_id | 215947 |
| octolytics-dimension-user_login | matplotlib |
| octolytics-dimension-repository_id | 1385122 |
| octolytics-dimension-repository_nwo | matplotlib/matplotlib |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 1385122 |
| octolytics-dimension-repository_network_root_nwo | matplotlib/matplotlib |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 7aed05249554b889eb33d002851a973eebcc7e91 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width