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

Skip to content

Commit 73d7119

Browse files
authored
Merge pull request #14666 from bingyao/docs_update_link
DOC: Update IPython's doc link in Image tutorial
2 parents 12b2854 + 5f8643c commit 73d7119

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

tutorials/introductory/images.py

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,16 +12,17 @@
1212
1313
First, let's start IPython. It is a most excellent enhancement to the
1414
standard Python prompt, and it ties in especially well with
15-
Matplotlib. Start IPython either at a shell, or the IPython Notebook now.
15+
Matplotlib. Start IPython either directly at a shell, or with the Jupyter
16+
Notebook (where IPython as a running kernel).
1617
1718
With IPython started, we now need to connect to a GUI event loop. This
1819
tells IPython where (and how) to display plots. To connect to a GUI
1920
loop, execute the **%matplotlib** magic at your IPython prompt. There's more
2021
detail on exactly what this does at `IPython's documentation on GUI
2122
event loops
22-
<http://ipython.org/ipython-doc/2/interactive/reference.html#gui-event-loop-support>`_.
23+
<https://ipython.readthedocs.io/en/stable/interactive/reference.html#gui-event-loop-support>`_.
2324
24-
If you're using IPython Notebook, the same commands are available, but
25+
If you're using Jupyter Notebook, the same commands are available, but
2526
people commonly use a specific argument to the %matplotlib magic:
2627
2728
.. sourcecode:: ipython
@@ -157,7 +158,7 @@
157158
#
158159
# .. note::
159160
#
160-
# However, remember that in the IPython notebook with the inline backend,
161+
# However, remember that in the Jupyter Notebook with the inline backend,
161162
# you can't make changes to plots that have already been rendered. If you
162163
# create imgplot here in one cell, you cannot call set_cmap() on it in a later
163164
# cell and expect the earlier plot to change. Make sure that you enter these
@@ -208,7 +209,7 @@
208209
# imshow. You could also do this by calling the
209210
# :meth:`~matplotlib.image.Image.set_clim` method of the image plot
210211
# object, but make sure that you do so in the same cell as your plot
211-
# command when working with the IPython Notebook - it will not change
212+
# command when working with the Jupyter Notebook - it will not change
212213
# plots from earlier cells.
213214
#
214215
# You can specify the clim in the call to ``plot``.

0 commit comments

Comments
 (0)