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):
5151 pass
5252
5353
54+ class FigureManagerWebAgg (core .FigureManagerWebAgg ):
55+ _toolbar2_class = core .NavigationToolbar2WebAgg
56+
57+
5458class WebAggApplication (tornado .web .Application ):
5559 initialized = False
5660 started = False
@@ -299,7 +303,7 @@ def ipython_inline_display(figure):
299303@_Backend .export
300304class _BackendWebAgg (_Backend ):
301305 FigureCanvas = FigureCanvasWebAgg
302- FigureManager = core . FigureManagerWebAgg
306+ FigureManager = FigureManagerWebAgg
303307
304308 @staticmethod
305309 def show ():
Original file line number Diff line number Diff line change @@ -453,7 +453,7 @@ def set_history_buttons(self):
453453
454454
455455class FigureManagerWebAgg (backend_bases .FigureManagerBase ):
456- _toolbar2_class = ToolbarCls = NavigationToolbar2WebAgg
456+ ToolbarCls = NavigationToolbar2WebAgg
457457
458458 def __init__ (self , canvas , num ):
459459 self .web_sockets = set ()
You can’t perform that action at this time.
0 commit comments