From ac0a7c332a9cede1994516a954cc589402454222 Mon Sep 17 00:00:00 2001 From: Thomas Aarholt Date: Wed, 6 Jan 2021 14:12:12 +0100 Subject: [PATCH] Fix plt.pause() behaviour (#291) * Remove methods that call non-existing methods * Update backend_nbagg.py --- ipympl/backend_nbagg.py | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) 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