Skip to content

Put back the scrolling support - #109

Merged
SylvainCorlay merged 1 commit into
matplotlib:masterfrom
martinRenou:add_scroll_back
Jul 4, 2019
Merged

SylvainCorlay merged 1 commit into
matplotlib:masterfrom
martinRenou:add_scroll_back

Conversation

@martinRenou

Copy link
Copy Markdown
Member

cc. @tacaswell

As discussed here #81 (comment)

@tacaswell tacaswell left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

Not fully qualified to review the JS...

@martinRenou

Copy link
Copy Markdown
Member Author

Tested with this example: https://gist.github.com/tacaswell/3144287 and it seems to work just fine :)

@SylvainCorlay

Copy link
Copy Markdown
Member

@tacaswell what is the way you would like to see this go?

Should the ipympl widget always catch scroll events and we only process them in the backend if the user does something like in your example?

@SylvainCorlay
SylvainCorlay merged commit b7bebb7 into matplotlib:master Jul 4, 2019
@SylvainCorlay
SylvainCorlay deleted the add_scroll_back branch July 4, 2019 12:53
@tacaswell

Copy link
Copy Markdown
Member

Yes, this is consistent with how the rest of the interactive backends handle scroll events.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants