Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit de22a51

Browse filesBrowse files
authored
Merge pull request #18723 from meeseeksmachine/auto-backport-of-pr-18584-on-v3.3.x
Backport PR #18584 on branch v3.3.x (Fix setting 0-timeout timer with Tornado.)
2 parents d941d33 + c550674 commit de22a51
Copy full SHA for de22a51

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed

‎lib/matplotlib/backends/backend_webagg_core.py

Copy file name to clipboardExpand all lines: lib/matplotlib/backends/backend_webagg_core.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -517,7 +517,7 @@ def _timer_start(self):
517517
else:
518518
self._timer = tornado.ioloop.PeriodicCallback(
519519
self._on_timer,
520-
self.interval)
520+
max(self.interval, 1e-6))
521521
self._timer.start()
522522

523523
def _timer_stop(self):

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.