If you want the GUI to be responsive during long running code it is necessary to periodically flush the GUI event queue as described above.
However, if you click the link, it takes you further down the page. Yes this is a docs nit, but for a half second the "above" being incorrect made me question if I'd enough coffee yet.
Suggested improvement
If you want the GUI to be responsive during long running code it is necessary to periodically flush the GUI event queue as described in the explicit event loop control section.
I think using words like "above" and "below" are brittle and likely to become stale.
Activity
tacaswell commented on Dec 5, 2022
Thank you for the careful reading :)
I am 👍🏻 on that wording change, can you open a PR?
Busayo-ojo commented on Dec 6, 2022
Hi @tacaswell Can I work on this?
Merge pull request #24645 from jamesbraza/24632/fixing-above-to-ref
Backport PR matplotlib#24645: Removed 'above' wording from Input hook…
Backport PR matplotlib#24645: Removed 'above' wording from Input hook…