Skip to content

Commit 1cee2fc

Browse files
authored
Remove Jupyter Notebook notes from tutorials (#1199)
1 parent d5658aa commit 1cee2fc

File tree

13 files changed

+0
-118
lines changed

13 files changed

+0
-118
lines changed

examples/tutorials/3d_perspective_image.py

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,6 @@
44
55
Create 3-D perspective image or surface mesh from a grid
66
using :meth:`pygmt.Figure.grdview`.
7-
8-
.. note::
9-
10-
This tutorial assumes the use of a Python notebook, such as IPython or Jupyter Notebook.
11-
To see the figures while using a Python script instead, use
12-
``fig.show(method="external")`` to display the figure in the default PDF viewer.
13-
14-
To save the figure, use ``fig.savefig("figname.pdf")`` where ``"figname.pdf"``
15-
is the desired name and file extension for the saved figure.
167
"""
178
# sphinx_gallery_thumbnail_number = 4
189

examples/tutorials/coastlines.py

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,6 @@
33
======================
44
55
Plotting coastlines and borders is handled by :meth:`pygmt.Figure.coast`.
6-
7-
.. note::
8-
9-
This tutorial assumes the use of a Python notebook, such as IPython or Jupyter Notebook.
10-
To see the figures while using a Python script instead, use
11-
``fig.show(method="external")`` to display the figure in the default PDF viewer.
12-
13-
To save the figure, use ``fig.savefig("figname.pdf")`` where ``"figname.pdf"``
14-
is the desired name and file extension for the saved figure.
156
"""
167
# sphinx_gallery_thumbnail_number = 5
178

examples/tutorials/configuration.py

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,6 @@
33
==========================
44
55
Default GMT parameters can be set globally or locally using :class:`pygmt.config`.
6-
7-
.. note::
8-
9-
This tutorial assumes the use of a Python notebook, such as IPython or Jupyter Notebook.
10-
To see the figures while using a Python script instead, use
11-
``fig.show(method="external")`` to display the figure in the default PDF viewer.
12-
13-
To save the figure, use ``fig.savefig("figname.pdf")`` where ``"figname.pdf"``
14-
is the desired name and file extension for the saved figure.
156
"""
167
# sphinx_gallery_thumbnail_number = 3
178

examples/tutorials/contour_map.py

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,6 @@
33
=================================
44
55
Plotting a contour map is handled by :meth:`pygmt.Figure.grdcontour`.
6-
7-
.. note::
8-
9-
This tutorial assumes the use of a Python notebook, such as IPython or Jupyter Notebook.
10-
To see the figures while using a Python script instead, use
11-
``fig.show(method="external")`` to display the figure in the default PDF viewer.
12-
13-
To save the figure, use ``fig.savefig("figname.pdf")`` where ``"figname.pdf"``
14-
is the desired name and file extension for the saved figure.
156
"""
167
# sphinx_gallery_thumbnail_number = 5
178

examples/tutorials/earth_relief.py

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,6 @@
55
Plotting a map of Earth relief can use the data accessed by the
66
:meth:`pygmt.datasets.load_earth_relief` method. The data can then be plotted using the
77
:meth:`pygmt.Figure.grdimage` method.
8-
9-
.. note::
10-
11-
This tutorial assumes the use of a Python notebook, such as IPython or Jupyter Notebook.
12-
To see the figures while using a Python script instead, use
13-
``fig.show(method="external")`` to display the figure in the default PDF viewer.
14-
15-
To save the figure, use ``fig.savefig("figname.pdf")`` where ``"figname.pdf"``
16-
is the desired name and file extension for the saved figure.
178
"""
189
# sphinx_gallery_thumbnail_number = 5
1910

examples/tutorials/first_figure.py

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,6 @@
44
55
Welcome to PyGMT! Here we'll cover some of basic concepts, like creating simple figures
66
and naming conventions.
7-
8-
.. note::
9-
10-
This tutorial assumes the use of a Python notebook, such as `IPython <https://ipython.org/>`__
11-
or `JupyterLab <https://jupyter.org/>`__.
12-
To see the figures while using a Python script instead, use
13-
``fig.show(method="external")`` to display the figure in the default PDF viewer.
14-
15-
To save the figure, use ``fig.savefig("figname.pdf")`` where ``"figname.pdf"``
16-
is the desired name and file extension for the saved figure.
177
"""
188

199
########################################################################################

examples/tutorials/frames.py

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,6 @@
44
55
Setting the style of the map frames, ticks, etc, is handled by the ``frame`` parameter
66
that all plotting methods of :class:`pygmt.Figure`.
7-
8-
.. note::
9-
10-
This tutorial assumes the use of a Python notebook, such as IPython or Jupyter Notebook.
11-
To see the figures while using a Python script instead, use
12-
``fig.show(method="external")`` to display the figure in the default PDF viewer.
13-
14-
To save the figure, use ``fig.savefig("figname.pdf")`` where ``"figname.pdf"``
15-
is the desired name and file extension for the saved figure.
167
"""
178
# sphinx_gallery_thumbnail_number = 4
189

examples/tutorials/insets.py

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,6 @@
66
:meth:`pygmt.Figure.inset` method. After a large figure has been created,
77
call ``inset`` using a ``with`` statement, and new plot elements will be
88
added to the inset figure instead of the larger figure.
9-
10-
.. note::
11-
12-
This tutorial assumes the use of a Python notebook, such as IPython or Jupyter Notebook.
13-
To see the figures while using a Python script instead, use
14-
``fig.show(method="external")`` to display the figure in the default PDF viewer.
15-
16-
To save the figure, use ``fig.savefig("figname.pdf")`` where ``"figname.pdf"``
17-
is the desired name and file extension for the saved figure.
189
"""
1910
# sphinx_gallery_thumbnail_number = 4
2011

examples/tutorials/lines.py

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,6 @@
33
==============
44
55
Plotting lines is handled by :meth:`pygmt.Figure.plot`.
6-
7-
.. note::
8-
9-
This tutorial assumes the use of a Python notebook, such as IPython or Jupyter Notebook.
10-
To see the figures while using a Python script instead, use
11-
``fig.show(method="external")`` to display the figure in the default PDF viewer.
12-
13-
To save the figure, use ``fig.savefig("figname.pdf")`` where ``"figname.pdf"``
14-
is the desired name and file extension for the saved figure.
156
"""
167
# sphinx_gallery_thumbnail_number = 3
178

examples/tutorials/plot.py

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,6 @@
77
:mod:`pygmt.datasets` package. If you don't have the data files already, they are
88
automatically downloaded and saved to a cache directory the first time you use them
99
(usually ``~/.gmt/cache``).
10-
11-
.. note::
12-
13-
This tutorial assumes the use of a Python notebook, such as IPython or Jupyter Notebook.
14-
To see the figures while using a Python script instead, use
15-
``fig.show(method="external")`` to display the figure in the default PDF viewer.
16-
17-
To save the figure, use ``fig.savefig("figname.pdf")`` where ``"figname.pdf"``
18-
is the desired name and file extension for the saved figure.
1910
"""
2011
# sphinx_gallery_thumbnail_number = 3
2112

0 commit comments

Comments
 (0)