Skip to content

Commit

Permalink
Fix plt.pause() behaviour (#291)
Browse files Browse the repository at this point in the history
* Remove methods that call non-existing methods

* Update backend_nbagg.py
  • Loading branch information
thomasaarholt authored Jan 6, 2021
1 parent f33046b commit ac0a7c3
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions ipympl/backend_nbagg.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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
Expand Down

0 comments on commit ac0a7c3

Please sign in to comment.