Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 0eb2172

Browse files
committed
DOC: correct docstring on start_event_loop
Blocks forever of 0 and negative, not just negative closes #17615
1 parent 76e9e26 commit 0eb2172

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/matplotlib/backend_bases.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2316,7 +2316,7 @@ def start_event_loop(self, timeout=0):
23162316
The event loop blocks until a callback function triggers
23172317
`stop_event_loop`, or *timeout* is reached.
23182318
2319-
If *timeout* is negative, never timeout.
2319+
If *timeout* is 0 or negative, never timeout.
23202320
23212321
Only interactive backends need to reimplement this method and it relies
23222322
on `flush_events` being properly implemented.

0 commit comments

Comments
 (0)