Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[ENH]: Allow for capturing scroll in webagg backend #26032

Open
@ianhi

Description

@ianhi

Problem

As reported inmpl-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 scroll to zoom methods without also scrolling the page.

Proposed solution

Add 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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp