File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -51,6 +51,10 @@ class FigureCanvasWebAgg(core.FigureCanvasWebAggCore):
51
51
pass
52
52
53
53
54
+ class FigureManagerWebAgg (core .FigureManagerWebAgg ):
55
+ _toolbar2_class = core .NavigationToolbar2WebAgg
56
+
57
+
54
58
class WebAggApplication (tornado .web .Application ):
55
59
initialized = False
56
60
started = False
@@ -299,7 +303,7 @@ def ipython_inline_display(figure):
299
303
@_Backend .export
300
304
class _BackendWebAgg (_Backend ):
301
305
FigureCanvas = FigureCanvasWebAgg
302
- FigureManager = core . FigureManagerWebAgg
306
+ FigureManager = FigureManagerWebAgg
303
307
304
308
@staticmethod
305
309
def show ():
Original file line number Diff line number Diff line change @@ -453,7 +453,7 @@ def set_history_buttons(self):
453
453
454
454
455
455
class FigureManagerWebAgg (backend_bases .FigureManagerBase ):
456
- _toolbar2_class = ToolbarCls = NavigationToolbar2WebAgg
456
+ ToolbarCls = NavigationToolbar2WebAgg
457
457
458
458
def __init__ (self , canvas , num ):
459
459
self .web_sockets = set ()
You can’t perform that action at this time.
0 commit comments