8000 Remember to set nbagg single-shot timer to None when stopped · matplotlib/matplotlib@825157f · GitHub
[go: up one dir, main page]

Skip to content

Commit 825157f

Browse files
committed
Remember to set nbagg single-shot timer to None when stopped
1 parent e68c62b commit 825157f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/matplotlib/backends/backend_nbagg.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,8 @@ def _timer_stop(self):
192192
ioloop.remove_timeout(self._timer)
193193
else:
194194
self._timer.stop()
195-
self._timer = None
195+
196+
self._timer = None
196197

197198
def _timer_set_interval(self):
198199
# Only stop and restart it if the timer has already been started

0 commit comments

Comments
 (0)
0