From 0d8654f494d6eda8819b6198b72a573e3f842c14 Mon Sep 17 00:00:00 2001 From: James Braza Date: Tue, 6 Dec 2022 11:20:42 -0800 Subject: [PATCH 1/2] Removed 'above' from wording in Input hook integration section --- doc/users/explain/interactive_guide.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/users/explain/interactive_guide.rst b/doc/users/explain/interactive_guide.rst index 82631e423909..dcacd4f744d9 100644 --- a/doc/users/explain/interactive_guide.rst +++ b/doc/users/explain/interactive_guide.rst @@ -166,8 +166,8 @@ takes over again. This time-share technique only allows the event loop to run while python is otherwise idle and waiting for user input. If you want the GUI to be responsive during long running code it is necessary to -periodically flush the GUI event queue as described :ref:`above -`. In this case it is your code, not the REPL, which +periodically flush the GUI event queue as described :ref:`spin_event_loop`. +In this case it is your code, not the REPL, which is blocking the process so you need to handle the "time-share" manually. Conversely, a very slow figure draw will block the prompt until it finishes drawing. From d7fd73ba547d5558c48df37284a64ac0a835c281 Mon Sep 17 00:00:00 2001 From: James Braza Date: Tue, 6 Dec 2022 12:12:42 -0800 Subject: [PATCH 2/2] Added 'in' as I realized the wording didn't make sense --- doc/users/explain/interactive_guide.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/users/explain/interactive_guide.rst b/doc/users/explain/interactive_guide.rst index dcacd4f744d9..9c110967d94a 100644 --- a/doc/users/explain/interactive_guide.rst +++ b/doc/users/explain/interactive_guide.rst @@ -166,7 +166,7 @@ takes over again. This time-share technique only allows the event loop to run while python is otherwise idle and waiting for user input. If you want the GUI to be responsive during long running code it is necessary to -periodically flush the GUI event queue as described :ref:`spin_event_loop`. +periodically flush the GUI event queue as described in :ref:`spin_event_loop`. In this case it is your code, not the REPL, which is blocking the process so you need to handle the "time-share" manually. Conversely, a very slow figure draw will block the prompt until it