Skip to content

Commit d14af7f

Browse files
DOC: Use consistently the current GMT version in image URLs (#4299)
1 parent 37a2e44 commit d14af7f

File tree

7 files changed

+7
-6
lines changed

7 files changed

+7
-6
lines changed

.github/ISSUE_TEMPLATE/5-bump_gmt_checklist.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ mamba install -c conda-forge gmt=X.Y.Z
3131
- [ ] Run `grep -r "# TODO(GMT.*)" --include="*.py" .` to find TODO items related to GMT
3232
- [ ] Remove related workarounds/patches
3333
- [ ] Fix tests with pytest `xfail`/`skipif` markers that now pass
34+
- [ ] Update URLs to manually inserted images of the GMT documentation
3435
- [ ] Update this checklist if necessary
3536

3637
**To-Do for bumping the minimum required GMT version**:

examples/projections/cyl/cyl_universal_transverse_mercator.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
1515
.. _GMT_utm_zones:
1616
17-
.. figure:: https://docs.generic-mapping-tools.org/latest/_images/GMT_utm_zones.png
17+
.. figure:: https://docs.generic-mapping-tools.org/6.6/_images/GMT_utm_zones.png
1818
:width: 700 px
1919
:align: center
2020

pygmt/encodings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
----------
1717
1818
- GMT-octal-codes: https://github.com/seisman/GMT-octal-codes
19-
- GMT documentation: https://docs.generic-mapping-tools.org/dev/reference/octal-codes.html
19+
- GMT documentation: https://docs.generic-mapping-tools.org/6.6/reference/octal-codes.html
2020
- Adobe Postscript Language Reference: https://www.adobe.com/jp/print/postscript/pdfs/PLRM.pdf
2121
- Adobe ISOLatin1+: https://en.wikipedia.org/wiki/PostScript_Latin_1_Encoding
2222
- Adobe Symbol: https://en.wikipedia.org/wiki/Symbol_(typeface)

pygmt/params/pattern.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ class Pattern(BaseParam):
2626
GMT provides 90 predefined patterns that can be used in PyGMT. The patterns are
2727
numbered from 1 to 90, and shown below:
2828
29-
.. figure:: https://docs.generic-mapping-tools.org/6.5/_images/GMT_App_E.png
29+
.. figure:: https://docs.generic-mapping-tools.org/6.6/_images/GMT_App_E.png
3030
:alt: The 90 predefined bit-patterns provided with GMT
3131
:width: 75%
3232
:align: center

pygmt/params/position.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ class Position(BaseParam):
1818
"""
1919
Class for positioning embellishments on a plot.
2020
21-
.. figure:: https://docs.generic-mapping-tools.org/dev/_images/GMT_anchor.png
21+
.. figure:: https://docs.generic-mapping-tools.org/6.6/_images/GMT_anchor.png
2222
:width: 600 px
2323
:align: center
2424

pygmt/src/nearneighbor.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ def nearneighbor(
6262
criteria and :math:`r_i` is the distance from the node to the *i*'th data
6363
point. If no data weights are supplied then :math:`w_i = 1`.
6464
65-
.. figure:: https://docs.generic-mapping-tools.org/dev/_images/GMT_nearneighbor.png
65+
.. figure:: https://docs.generic-mapping-tools.org/6.6/_images/GMT_nearneighbor.png
6666
:width: 300 px
6767
:align: center
6868

pygmt/tests/test_text.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,7 @@ def test_text_justify_parsed_from_textfile():
294294
operation.
295295
296296
Loosely based on "All great-circle paths lead to Rome" gallery example at
297-
https://docs.generic-mapping-tools.org/latest/gallery/ex23.html
297+
https://docs.generic-mapping-tools.org/6.6/gallery/ex23.html
298298
"""
299299
fig = Figure()
300300
fig.text(

0 commit comments

Comments
 (0)