Skip to content

Commit d6b1c38

Browse files
committed
Fix download button
1 parent f8687b0 commit d6b1c38

File tree

1 file changed

+1
-1
lines changed
  • lib/matplotlib/backends/web_backend

1 file changed

+1
-1
lines changed

lib/matplotlib/backends/web_backend/mpl.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ mpl.figure.prototype._init_toolbar = function() {
193193
fmt_picker.addClass('mpl-toolbar-option ui-widget ui-widget-content');
194194
fmt_picker_span.append(fmt_picker);
195195
nav_element.append(fmt_picker_span);
196-
this.format_dropdown = fmt_picker;
196+
this.format_dropdown = fmt_picker[0];
197197

198198
for (var ind in mpl.extensions) {
199199
var fmt = mpl.extensions[ind];

0 commit comments

Comments
 (0)