8000 Add Support for `scroll_event` in WebAgg and NbAgg [backport to 1.4.x] by blink1073 · Pull Request #3968 · matplotlib/matplotlib · GitHub
[go: up one dir, main page]

Skip to content

Add Support for scroll_event in WebAgg and NbAgg [backport to 1.4.x] #3968

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 22 commits into from
Jan 11, 2015
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Attach scrolling handler to canvas_div
Conflicts:
	lib/matplotlib/backends/web_backend/mpl.js
  • Loading branch information
blink1073 committed Jan 11, 2015
commit f20d0ee4afd308ea16ca3e911d23a859da460db5
8 changes: 0 additions & 8 deletions lib/matplotlib/backends/web_backend/mpl.js
Original file line number Diff line number Diff line change
Expand Up @@ -438,14 +438,6 @@ mpl.figure.prototype.mouse_event = function(event, name) {
var x = canvas_pos.x;
var y = canvas_pos.y;

<<<<<<< HEAD
<<<<<<< HEAD
=======
console.log(name);

>>>>>>> b1331ff... Add scroll event handling to javascript
=======
>>>>>>> 6b3ae27... Remove debug print
this.send_message(name, {x: x, y: y, button: event.button,
step: event.step});
Copy link
Member

Choose a reason for hiding this comment

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

what done js do if you have not set a value for event.step? I assume magically pass a null-like value...

Copy link
Member Author

Choose a reason for hiding this comment

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

JS assigns it to undefined which is translated to None AFAIK.


Expand Down
0