Movatterモバイル変換


[0]ホーム

URL:


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

Sign up
Appearance settings

Commit0339726

Browse files
committed
Fix setting 0-timeout timer with Tornado.
It doesn't allow 0, so set a very small minimum.Fixes#18580.
1 parent5173cda commit0339726

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎lib/matplotlib/backends/backend_webagg_core.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -512,7 +512,7 @@ def _timer_start(self):
512512
else:
513513
self._timer=tornado.ioloop.PeriodicCallback(
514514
self._on_timer,
515-
self.interval)
515+
max(self.interval,1e-6))
516516
self._timer.start()
517517

518518
def_timer_stop(self):

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp