File tree 2 files changed +3
-3
lines changed 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -216,6 +216,7 @@ class _BackendMac(_Backend):
216
216
FigureCanvas = FigureCanvasMac
217
217
FigureManager = FigureManagerMac
218
218
219
+ @staticmethod
219
220
def trigger_manager_draw (manager ):
220
221
# For performance reasons, we don't want to redraw the figure after
221
222
# each draw command. Instead, we mark the figure as invalid, so that it
Original file line number Diff line number Diff line change @@ -108,8 +108,7 @@ def get(self):
108
108
"all_figures.html" ,
109
109
prefix = self .url_prefix ,
110
110
ws_uri = ws_uri ,
111
- figures = sorted (
112
- list (Gcf .figs .items ()), key = lambda item : item [0 ]),
111
+ figures = sorted (Gcf .figs .items ()),
113
112
toolitems = core .NavigationToolbar2WebAgg .toolitems )
114
113
115
114
class MplJs (tornado .web .RequestHandler ):
@@ -326,7 +325,7 @@ def ipython_inline_display(figure):
326
325
@_Backend .export
327
326
class _BackendWebAgg (_Backend ):
328
327
FigureCanvas = FigureCanvasWebAgg
329
- FigureManager = FigureManagerWebAgg
328
+ FigureManager = core . FigureManagerWebAgg
330
329
331
330
@staticmethod
332
331
def trigger_manager_draw (manager ):
You can’t perform that action at this time.
0 commit comments