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

Skip to content

Commit 046fe61

Browse files
committed
DOC: tweak wording
per @iccir 's comments.
1 parent 4b64fe2 commit 046fe61

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

galleries/users_explain/figure/interactive_guide.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -408,11 +408,11 @@ run the event loop until a key is pressed on stdin.
408408
Interactive figures, even with Matplotlib in "interactive mode", may not work
409409
in REPL if an appropriate :c:data:`PyOS_InputHook` is not registered. This
410410
management is left to upstream libraries or downstream code -- either explicit
411-
user code or shell initialization -- in all backends but the native Mac
412-
backend. Input hooks, and helpers to install them, are usually included with
413-
the Python bindings for GUI toolkits and may be registered on import. For the
414-
Mac backend Matplotlib owns the code wrapping the native GUI toolkit and we
415-
register :c:data:`PyOS_InputHook` on application initialization.
411+
user code or shell initialization -- in all toolkits but native macOS. Input
412+
hooks, and helpers to install them, are usually included with the Python
413+
bindings for GUI toolkits and may be registered on import. For the macOS
414+
native toolkit Matplotlib owns code that exposes the toolkit to Python and thus
415+
we register :c:data:`PyOS_InputHook` on GUI application initialization.
416416

417417
IPython also ships input hook functions for all of the GUI frameworks
418418
Matplotlib supports which can be installed via ``%matplotlib``. This is the

0 commit comments

Comments
 (0)