Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2bab043 commit 0db1a9cCopy full SHA for 0db1a9c
lib/matplotlib/backends/web_backend/mpl.js
@@ -396,7 +396,7 @@ mpl.figure.prototype.toolbar_button_onclick = function(name) {
396
if (name == 'download') {
397
var format_dropdown = this.format_dropdown;
398
var format = format_dropdown.options[format_dropdown.selectedIndex].value;
399
- this.ondownload(figure, format);
+ this.ondownload(this, format);
400
} else {
401
this.send_message("toolbar_button", {name: name});
402
}
0 commit comments