From 3e0a73c8291d141e6cf971a05811ce5efa0f04be Mon Sep 17 00:00:00 2001 From: Antony Lee Date: Sat, 15 Jun 2019 17:12:42 +0200 Subject: [PATCH] Clarify how to work with threads. --- doc/faq/howto_faq.rst | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/doc/faq/howto_faq.rst b/doc/faq/howto_faq.rst index 39cfc86258cd..d7fad68f298b 100644 --- a/doc/faq/howto_faq.rst +++ b/doc/faq/howto_faq.rst @@ -544,8 +544,9 @@ that affect certain artists. Hence, if you work with threads, it is your responsibility to set up the proper locks to serialize access to Matplotlib artists. -Note that (for the case where you are working with an interactive backend) most -GUI backends *require* being run from the main thread as well. +You may be able to work on separate figures from separate threads. However, +you must in that case use a *non-interactive backend* (typically Agg), because +most GUI backends *require* being run from the main thread as well. .. _howto-contribute: