diff --git a/ipympl/backend_nbagg.py b/ipympl/backend_nbagg.py index 1c1d196e..99e12a87 100644 --- a/ipympl/backend_nbagg.py +++ b/ipympl/backend_nbagg.py @@ -19,8 +19,7 @@ FigureCanvasWebAggCore, NavigationToolbar2WebAgg, TimerTornado) -from matplotlib.backend_bases import (ShowBase, NavigationToolbar2, - FigureCanvasBase, cursors) +from matplotlib.backend_bases import ShowBase, NavigationToolbar2, cursors from ._version import js_semver @@ -242,12 +241,6 @@ def send_binary(self, data): def new_timer(self, *args, **kwargs): return TimerTornado(*args, **kwargs) - def start_event_loop(self, timeout): - FigureCanvasBase.start_event_loop_default(self, timeout) - - def stop_event_loop(self): - FigureCanvasBase.stop_event_loop_default(self) - class FigureManager(FigureManagerWebAgg): ToolbarCls = Toolbar