8000 Clarify how to work with threads. · matplotlib/matplotlib@3e0a73c · GitHub
[go: up one dir, main page]

Skip to content

Commit 3e0a73c

Browse files
committed
Clarify how to work with threads.
1 parent 158a822 commit 3e0a73c

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

doc/faq/howto_faq.rst

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -544,8 +544,9 @@ that affect certain artists. Hence, if you work with threads, it is your
544544
responsibility to set up the proper locks to serialize access to Matplotlib
545545
artists.
546546

547-
Note that (for the case where you are working with an interactive backend) most
548-
GUI backends *require* being run from the main thread as well.
547+
You may be able to work on separate figures from separate threads. However,
548+
you must in that case use a *non-interactive backend* (typically Agg), because
549+
most GUI backends *require* being run from the main thread as well.
549550

550551
.. _howto-contribute:
551552

0 commit comments

Comments
 (0)
0