File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed 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 ),
113112 toolitems = core .NavigationToolbar2WebAgg .toolitems )
114113
115114 class MplJs (tornado .web .RequestHandler ):
@@ -192,7 +191,7 @@ def __init__(self, url_prefix=''):
192191 # Static files for the CSS and JS
193192 (url_prefix + r'/_static/(.*)' ,
194193 tornado .web .StaticFileHandler ,
195- {'path' : core .FigureManagerWebAgg .get_static_file_path ()}),
194+ {'path' : cre .FigureManagerWebAgg .get_static_file_path ()}),
196195
197196 # An MPL favicon
198197 (url_prefix + r'/favicon.ico' , self .FavIcon ),
@@ -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