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

Skip to content

Commit ec8e119

Browse files
authored
Merge pull request #14557 from anntzer/threads
DOC: Clarify how to work with threads.
2 parents 158a822 + 3e0a73c commit ec8e119

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)