Skip to content

Commit 3526a13

Browse files
Update "cookbook" to "reference" for links to the GMT 6.5 documentation (#2990)
1 parent 9b19167 commit 3526a13

File tree

17 files changed

+32
-32
lines changed

17 files changed

+32
-32
lines changed

examples/gallery/embellishments/colorbar.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
55
The :meth:`pygmt.Figure.colorbar` method creates a color scalebar.
66
The colormap is set via the ``cmap`` parameter. A full list of available
7-
color palette tables can be found at :gmt-docs:`cookbook/cpts.html`.
7+
color palette tables can be found at :gmt-docs:`reference/cpts.html`.
88
Use the ``frame`` parameter to add labels to the **x** and **y** axes
99
of the colorbar by appending **+l** followed by the desired text. To Add
1010
and adjust the annotations (**a**) and ticks (**f**) append the letter

examples/gallery/embellishments/colorbars_multiple.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
This gallery example shows how to create multiple colormaps for different
66
subplots. To better understand how GMT modern mode maintains several levels of
77
colormaps, please refer to
8-
:gmt-docs:`cookbook/features.html#gmt-modern-mode-hierarchical-levels` for
8+
:gmt-docs:`reference/features.html#gmt-modern-mode-hierarchical-levels` for
99
details.
1010
"""
1111

examples/gallery/lines/linestyles.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
requested with ``"dashed"`` or ``"-"``. Also combinations of dots and dashes,
1313
like ``".-"`` for a dot-dashed line, are allowed.
1414
15-
For more advanced *pen* attributes, see the GMT cookbook
16-
:gmt-docs:`cookbook/features.html#wpen-attrib`.
15+
For more advanced *pen* attributes, see the GMT Technical Reference
16+
:gmt-docs:`reference/features.html#wpen-attrib`.
1717
1818
"""
1919

examples/gallery/symbols/custom_symbols.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
the ``style`` parameter. In total 41 custom symbols are already included of
88
which the following plot shows five exemplary ones. The symbols are shown
99
underneath their corresponding names. For the remaining symbols see the GMT
10-
cookbook :gmt-docs:`cookbook/custom-symbols.html`.
10+
Technical Reference :gmt-docs:`reference/custom-symbols.html`.
1111
"""
1212

1313
# %%

examples/gallery/symbols/patterns.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
*pattern* can either be a number in the range 1-90 or the name of a
2727
1-, 8-, or 24-bit image raster file. The former will result in one of the 90
2828
predefined 64 x 64 bit-patterns provided by GMT; an overview can by found at
29-
:gmt-docs:`cookbook/predefined-patterns.html`.
29+
:gmt-docs:`reference/predefined-patterns.html`.
3030
The latter allows the user to create customized, repeating images using image
3131
raster files.
3232
By specifying upper case **P** instead of **p** the image will be

examples/gallery/symbols/text_symbols.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@
1515
as **+j**\ *justify* to change the justification [Default is CM]. The fill
1616
color of the text symbols can be set with the ``fill`` parameter, and the
1717
outline width can be customized with the ``pen`` parameter.
18-
For all supported octal codes and fonts see the GMT cookbook
19-
:gmt-docs:`cookbook/octal-codes.html` and
20-
:gmt-docs:`cookbook/postscript-fonts.html`.
18+
For all supported octal codes and fonts see the GMT Technical Reference
19+
:gmt-docs:`reference/octal-codes.html` and
20+
:gmt-docs:`reference/postscript-fonts.html`.
2121
"""
2222

2323
# %%

examples/get_started/02_contour_map.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
# the Earth relief. The :meth:`pygmt.Figure.grdimage` method uses the input
4646
# grid to relate the Earth relief values to a specific color within the CPT.
4747
# In this case, the CPT "oleron" is used; a full list of CPTs can be found
48-
# at :gmt-docs:`cookbook/cpts.html`.
48+
# at :gmt-docs:`reference/cpts.html`.
4949

5050
fig = pygmt.Figure()
5151
fig.grdimage(grid=grid, frame="a", projection="M10c", cmap="oleron")

examples/projections/nongeo/cartesian_linear.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@
1212
floating point data. To plot geographical data in a linear
1313
projection, see the upstream GMT documentation
1414
:gmt-docs:`Geographic coordinates
15-
<cookbook/coordinate-transformations.html#geographic-coordinates>`.
15+
<reference/coordinate-transformations.html#geographic-coordinates>`.
1616
To make the linear plot using calendar date/time as input
1717
coordinates, see the GMT documentation
1818
:gmt-docs:`Calendar time coordinates
19-
<cookbook/coordinate-transformations.html#calendar-time-coordinates>`.
19+
<reference/coordinate-transformations.html#calendar-time-coordinates>`.
2020
"""
2121

2222
# %%

examples/tutorials/advanced/earth_relief.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
# :meth:`pygmt.Figure.grdimage` can take the optional parameter ``projection``
3535
# for the map. In the example below, ``projection`` is set to ``"R12c"`` for
3636
# a 12-centimeters-wide figure with a Winkel Tripel projection. For a list
37-
# of available projections, see :gmt-docs:`cookbook/map-projections.html`.
37+
# of available projections, see :gmt-docs:`reference/map-projections.html`.
3838

3939
fig = pygmt.Figure()
4040
fig.grdimage(grid=grid, projection="R12c")
@@ -47,7 +47,7 @@
4747
#
4848
# :meth:`pygmt.Figure.grdimage` takes the ``cmap`` parameter to set the CPT of
4949
# the figure. Examples of common CPTs for Earth relief are shown below.
50-
# A full list of CPTs can be found at :gmt-docs:`cookbook/cpts.html`.
50+
# A full list of CPTs can be found at :gmt-docs:`reference/cpts.html`.
5151

5252
# %%
5353
# Using the *geo* CPT:

examples/tutorials/basics/text.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
# the ``font`` parameter.
4646
#
4747
# A list of all recognized fonts can be found at
48-
# :gmt-docs:`PostScript Fonts Used by GMT <cookbook/postscript-fonts.html>`,
48+
# :gmt-docs:`PostScript Fonts Used by GMT <reference/postscript-fonts.html>`,
4949
# including details of how to use non-default fonts.
5050

5151
fig = pygmt.Figure()
@@ -151,7 +151,7 @@
151151
#
152152
# For crafting more advanced styles, including using special symbols and
153153
# other character sets, be sure to check out the GMT documentation
154-
# at :gmt-docs:`text.html` and also the cookbook at
155-
# :gmt-docs:`cookbook/features.html#placement-of-text`. Good luck!
154+
# at :gmt-docs:`text.html` and also the GMT Technical Reference at
155+
# :gmt-docs:`reference/features.html#placement-of-text`. Good luck!
156156

157157
# sphinx_gallery_thumbnail_number = 3

0 commit comments

Comments
 (0)