File tree Expand file tree Collapse file tree 3 files changed +4
-7
lines changed Expand file tree Collapse file tree 3 files changed +4
-7
lines changed Original file line number Diff line number Diff line change 2121import threading
2222
2323try :
24- import tornado
24+ import tornado .web
25+ import tornado .ioloop
26+ import tornado .websocket
2527except ImportError as err :
2628 raise RuntimeError ("The WebAgg backend requires Tornado." ) from err
2729
28- import tornado .web
29- import tornado .ioloop
30- import tornado .websocket
31-
3230import matplotlib as mpl
3331from matplotlib .backend_bases import _Backend
3432from matplotlib ._pylab_helpers import Gcf
Original file line number Diff line number Diff line change 3030from matplotlib .transforms import Affine2D
3131
3232import wx
33- import wx .svg
33+ import wx .svg # noqa: F401
3434
3535_log = logging .getLogger (__name__ )
3636
Original file line number Diff line number Diff line change 5858
5959from cycler import cycler # noqa: F401
6060import matplotlib
61- import matplotlib .colorbar
6261import matplotlib .image
6362from matplotlib import _api
6463# Re-exported (import x as x) for typing.
You can’t perform that action at this time.
0 commit comments