Title: [ENH]: Allow for capturing scroll in webagg backend · Issue #26032 · matplotlib/matplotlib · GitHub
Open Graph Title: [ENH]: Allow for capturing scroll in webagg backend · Issue #26032 · matplotlib/matplotlib
X Title: [ENH]: Allow for capturing scroll in webagg backend · Issue #26032 · matplotlib/matplotlib
Description: Problem As reported in mpl-extensions/mpl-pan-zoom#8 by @antoniovazquezblanco the webagg backend (and I suspect also the nbagg backend) have no option to enable capturing scroll events. This means that it is impossible to implement scrol...
Open Graph Description: Problem As reported in mpl-extensions/mpl-pan-zoom#8 by @antoniovazquezblanco the webagg backend (and I suspect also the nbagg backend) have no option to enable capturing scroll events. This means ...
X Description: Problem As reported in mpl-extensions/mpl-pan-zoom#8 by @antoniovazquezblanco the webagg backend (and I suspect also the nbagg backend) have no option to enable capturing scroll events. This means ...
Opengraph URL: https://github.com/matplotlib/matplotlib/issues/26032
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[ENH]: Allow for capturing scroll in webagg backend","articleBody":"### Problem\n\nAs reported in https://github.com/mpl-extensions/mpl-pan-zoom/issues/8 by @antoniovazquezblanco the webagg backend (and I suspect also the nbagg backend) have no option to enable capturing scroll events. This means that it is impossible to implement scroll to zoom methods without also scrolling the page.\n\n### Proposed solution\n\nAdd an optional way to have the canvas capture mouse wheel events like we do in ipympl: https://github.com/matplotlib/ipympl/blob/9b85cab605c960365e4f217589f8aa7ac6c31274/src/mpl_widget.ts#L547-L551","author":{"url":"https://github.com/ianhi","@type":"Person","name":"ianhi"},"datePublished":"2023-06-01T16:29:41.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":2},"url":"https://github.com/26032/matplotlib/issues/26032"}
| 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:d50ca1fb-fb6d-2250-a61d-06d1b1d3172c |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C9E2:2CC18B:37141F:38A3D2:6A519A7A |
| html-safe-nonce | 9a55f2d69d3be59951b7b6fb3d806de3c54ce4853b9df4df98334a20f5fef536 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDOUUyOjJDQzE4QjozNzE0MUY6MzhBM0QyOjZBNTE5QTdBIiwidmlzaXRvcl9pZCI6IjEwOTQxODk0MTc3NTU2NzkzNTQiLCJyZWdpb25fZWRnZSI6InNlYSIsInJlZ2lvbl9yZW5kZXIiOiJzZWEifQ== |
| visitor-hmac | e8148872f3b3c6e835d8b45b7e08f147c412e5ea5976575785ea2b1c8c39e945 |
| hovercard-subject-tag | issue:1736694426 |
| 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/26032/issue_layout |
| twitter:image | https://opengraph.githubassets.com/1f13105674987eb226673020d50b75426ae896457a42c5a0ab72082569edada2/matplotlib/matplotlib/issues/26032 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/1f13105674987eb226673020d50b75426ae896457a42c5a0ab72082569edada2/matplotlib/matplotlib/issues/26032 |
| og:image:alt | Problem As reported in mpl-extensions/mpl-pan-zoom#8 by @antoniovazquezblanco the webagg backend (and I suspect also the nbagg backend) have no option to enable capturing scroll events. This means ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | ianhi |
| 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