Title: [Bug]: zoom on overlapping axes triggers all axes · Issue #22324 · matplotlib/matplotlib · GitHub
Open Graph Title: [Bug]: zoom on overlapping axes triggers all axes · Issue #22324 · matplotlib/matplotlib
X Title: [Bug]: zoom on overlapping axes triggers all axes · Issue #22324 · matplotlib/matplotlib
Description: Bug summary ... not sure if you'd consider this a bug or not, but if there are 2 (or more) overlapping axes in a figure, manual zoom-events trigger all axes instead of just the top one. This makes it virtually impossible to zoom an inset...
Open Graph Description: Bug summary ... not sure if you'd consider this a bug or not, but if there are 2 (or more) overlapping axes in a figure, manual zoom-events trigger all axes instead of just the top one. This makes ...
X Description: Bug summary ... not sure if you'd consider this a bug or not, but if there are 2 (or more) overlapping axes in a figure, manual zoom-events trigger all axes instead of just the top one. This ma...
Opengraph URL: https://github.com/matplotlib/matplotlib/issues/22324
X: @github
Domain: github.com
IPv4 address: 140.82.113.4
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[Bug]: zoom on overlapping axes triggers all axes","articleBody":"### Bug summary\r\n\r\n... not sure if you'd consider this a bug or not, but if there are 2 (or more) overlapping axes in a figure, manual zoom-events trigger all axes instead of just the top one.\r\n\r\nThis makes it virtually impossible to zoom an inset-axes!\r\n\r\n### Code for reproduction\r\n\r\n```python\r\nimport matplotlib.pyplot as plt\r\n\r\nf, ax = plt.subplots()\r\nf.add_axes((.5,.5,.4,.4))\r\n```\r\n\r\n\r\n### Actual outcome\r\n\r\n\r\n\r\n### Expected outcome\r\n\r\nI think it would be most useful if only the topmost axes (e.g. the visible one) is affected by the zoom events.\r\n\r\n### Additional information\r\n\r\n_No response_\r\n\r\n### Operating system\r\n\r\nWindows\r\n\r\n### Matplotlib Version\r\n\r\n3.4.3\r\n\r\n### Matplotlib Backend\r\n\r\nQt5Agg\r\n\r\n### Python version\r\n\r\n3.9\r\n\r\n### Jupyter version\r\n\r\n_No response_\r\n\r\n### Installation\r\n\r\nconda","author":{"url":"https://github.com/raphaelquast","@type":"Person","name":"raphaelquast"},"datePublished":"2022-01-26T14:53:51Z","url":"https://github.com/matplotlib/matplotlib/issues/22324"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| 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:9cbbfd7e-e109-3a86-cf5e-037fa04907b7 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9CB0:43776:1069D4E:15FBC49:6B0658DE |
| html-safe-nonce | 931792b845b0e1ec3e58a3b3b8321964c8fe5d9b4d07f690a9c772340353394b |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5Q0IwOjQzNzc2OjEwNjlENEU6MTVGQkM0OTo2QjA2NThERSIsInZpc2l0b3JfaWQiOiI4NzQ5NTQ2MjgxNTczNDM5NzEwIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 443abefade4ebf474ac5bdaf734b8a814e8b6425069e70e959f5f88c192f6b8a |
| hovercard-subject-tag | issue:1115111187 |
| 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/22324/issue_layout |
| twitter:image | https://opengraph.githubassets.com/9b7067519b14980877bed955216e3d80ec5686f3aeb8e3721da16f62683188d5/matplotlib/matplotlib/issues/22324 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/9b7067519b14980877bed955216e3d80ec5686f3aeb8e3721da16f62683188d5/matplotlib/matplotlib/issues/22324 |
| og:image:alt | Bug summary ... not sure if you'd consider this a bug or not, but if there are 2 (or more) overlapping axes in a figure, manual zoom-events trigger all axes instead of just the top one. This makes ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | raphaelquast |
| hostname | github.com |
| expected-hostname | github.com |
| None | 6324e6ac990fb6befbec840cc0e102a1071c339bfe8f9826bb12de2e3ba1d297 |
| 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 | 7f0aa75f4141d440c6110dc31af7ea7797abb6c4 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width