File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -216,6 +216,7 @@ class _BackendMac(_Backend):
216216 FigureCanvas = FigureCanvasMac
217217 FigureManager = FigureManagerMac
218218
219+ @staticmethod
219220 def trigger_manager_draw (manager ):
220221 # For performance reasons, we don't want to redraw the figure after
221222 # 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):
108108 "all_figures.html" ,
109109 prefix = self .url_prefix ,
110110 ws_uri = ws_uri ,
111- figures = sorted (
112- list (Gcf .figs .items ()), key = lambda item : item [0 ]),
111+ figures = sorted (Gcf .figs .items ()),
113112 toolitems = core .NavigationToolbar2WebAgg .toolitems )
114113
115114 class MplJs (tornado .web .RequestHandler ):
@@ -326,7 +325,7 @@ def ipython_inline_display(figure):
326325@_Backend .export
327326class _BackendWebAgg (_Backend ):
328327 FigureCanvas = FigureCanvasWebAgg
329- FigureManager = FigureManagerWebAgg
328+ FigureManager = core . FigureManagerWebAgg
330329
331330 @staticmethod
332331 def trigger_manager_draw (manager ):
You can’t perform that action at this time.
0 commit comments