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

Skip to content

Commit eda2ed3

Browse files
tacaswellQuLogic
andauthored
DOC: edits from review
Co-authored-by: Elliott Sales de Andrade <[email protected]>
1 parent 41e19a8 commit eda2ed3

3 files changed

Lines changed: 8 additions & 8 deletions

File tree

doc/users/interactive.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ tools are sufficient, but you can also use the Matplotlib event system
1515
to build customized data exploration tools.
1616

1717
Matplotlib ships with :ref:`backends <what-is-a-backend>` binding to
18-
several GUI toolkits (Qt, Tk, Wx, Gtk, OSX, js) and third party
18+
several GUI toolkits (Qt, Tk, Wx, GTK, macOS, JavaScript) and third party
1919
packages provide bindings to `kivy
2020
<https://github.com/kivy-garden/garden.matplotlib>`__ and `Jupyter Lab
2121
<https://github.com/matplotlib/ipympl>`__. For the figures to be
@@ -288,7 +288,7 @@ If you are running your jupyter kernel locally you can use one of the
288288
GUI backends. The process running your kernel will show a GUI window
289289
on your desktop adjacent to your web browser. However if you move
290290
that notebook to a remote server the kernel will try to open the GUI
291-
window on _that_ computer. Unless you have arranged to forward the
291+
window on *that* computer. Unless you have arranged to forward the
292292
xserver back to your desktop, you not be able to see or interact with
293293
the figure (if it does not raise an exception outright).
294294

doc/users/interactive_guide.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -393,7 +393,7 @@ Eventloop integration mechanism
393393
CPython / readline
394394
------------------
395395

396-
The python capi provides a hook, :c:var:`PyOS_InputHook`, to register a
396+
The Python C API provides a hook, :c:var:`PyOS_InputHook`, to register a
397397
function to be run "The function will be called when Python's
398398
interpreter prompt is about to become idle and wait for user input
399399
from the terminal.". This hook can be used to integrate a second
@@ -404,7 +404,7 @@ run the event loop until a key is pressed on stdin.
404404

405405

406406
Matplotlib does not currently do any management of
407-
:c:var:`PyOS_InputHook` due to the wide range of ways that matplotlib
407+
:c:var:`PyOS_InputHook` due to the wide range of ways that Matplotlib
408408
is used. This management is left to downstream libraries -- either
409409
user code or the shell. Interactive figures, even with matplotlib in
410410
'interactive mode', may not work in the vanilla python repl if an
@@ -422,9 +422,9 @@ IPython / prompt toolkit
422422

423423
With IPython >= 5.0 IPython has changed from using cpython's readline
424424
based prompt to a ``prompt_toolkit`` based prompt. ``prompt_toolkit``
425-
has the same conceptual input hook, which is feed into prompt_toolkit via the
425+
has the same conceptual input hook, which is fed into ``prompt_toolkit`` via the
426426
:meth:`IPython.terminal.interactiveshell.TerminalInteractiveShell.inputhook`
427-
method. The source for the prompt_toolkit input hooks lives at
427+
method. The source for the ``prompt_toolkit`` input hooks lives at
428428
:mod:`IPython.terminal.pt_inputhooks`
429429

430430

lib/matplotlib/pyplot.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -309,11 +309,11 @@ def show(*args, **kwargs):
309309
"""
310310
Display all open figures.
311311
312-
In non-interactive mode, **block** defaults to True. All figures
312+
In non-interactive mode, *block* defaults to True. All figures
313313
will display and show will not return until all windows are closed.
314314
If there are no figures, return immediately.
315315
316-
In interactive mode **block** defaults to False. This will ensure
316+
In interactive mode *block* defaults to False. This will ensure
317317
that all of the figures are shown and this function immediately returns.
318318
319319
Parameters

0 commit comments

Comments
 (0)