From c5506744d3f1c68f38a8469b6e78558eb878a1cf Mon Sep 17 00:00:00 2001 From: Jody Klymak Date: Sat, 26 Sep 2020 17:22:24 -0700 Subject: [PATCH] Backport PR #18584: Fix setting 0-timeout timer with Tornado. --- lib/matplotlib/backends/backend_webagg_core.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/matplotlib/backends/backend_webagg_core.py b/lib/matplotlib/backends/backend_webagg_core.py index 2155381fbd77..5377f3dc266b 100644 --- a/lib/matplotlib/backends/backend_webagg_core.py +++ b/lib/matplotlib/backends/backend_webagg_core.py @@ -517,7 +517,7 @@ def _timer_start(self): else: self._timer = tornado.ioloop.PeriodicCallback( self._on_timer, - self.interval) + max(self.interval, 1e-6)) self._timer.start() def _timer_stop(self): pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy