From 844c159fe7ef97e2c3b6badbf8e1adc034f1a23d Mon Sep 17 00:00:00 2001 From: yvonnefroelich Date: Sun, 4 Aug 2024 18:13:18 +0200 Subject: [PATCH 01/12] Fix 'bottom left' to 'Bottom Left' in example 'colorbar' --- examples/gallery/embellishments/colorbar.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/gallery/embellishments/colorbar.py b/examples/gallery/embellishments/colorbar.py index aad985911c0..fff6745bf47 100644 --- a/examples/gallery/embellishments/colorbar.py +++ b/examples/gallery/embellishments/colorbar.py @@ -21,8 +21,8 @@ from anchor point. - **n**: using normalized (0-1) coordinates, e.g. ``position="n0.4/0.8"``. -Note that the anchor point defaults to the bottom left (**BL**). Append ``+h`` -to ``position`` to get a horizontal colorbar instead of a vertical one (``+v``). +Note that the anchor point defaults to Bottom Left (**BL**). Append``+h`` to +`position`` to get a horizontal colorbar instead of a vertical one (``+v``). """ # %% From 6f23a3cd999bf2dd1ca1d1c1c0af1d86d15b787c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yvonne=20Fr=C3=B6hlich?= <94163266+yvonnefroehlich@users.noreply.github.com> Date: Wed, 7 Aug 2024 11:05:16 +0200 Subject: [PATCH 02/12] Fix quotation marks for highlighting Co-authored-by: Michael Grund <23025878+michaelgrund@users.noreply.github.com> --- examples/gallery/embellishments/colorbar.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/gallery/embellishments/colorbar.py b/examples/gallery/embellishments/colorbar.py index fff6745bf47..60332ec8fed 100644 --- a/examples/gallery/embellishments/colorbar.py +++ b/examples/gallery/embellishments/colorbar.py @@ -22,7 +22,7 @@ - **n**: using normalized (0-1) coordinates, e.g. ``position="n0.4/0.8"``. Note that the anchor point defaults to Bottom Left (**BL**). Append``+h`` to -`position`` to get a horizontal colorbar instead of a vertical one (``+v``). +``position`` to get a horizontal colorbar instead of a vertical one (``+v``). """ # %% From 086d0bcff1ce7ad888f8d81c53c29c2946324d3c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yvonne=20Fr=C3=B6hlich?= <94163266+yvonnefroehlich@users.noreply.github.com> Date: Wed, 7 Aug 2024 17:03:54 +0200 Subject: [PATCH 03/12] Add white space Co-authored-by: Dongdong Tian --- examples/gallery/embellishments/colorbar.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/gallery/embellishments/colorbar.py b/examples/gallery/embellishments/colorbar.py index 60332ec8fed..84010591e4a 100644 --- a/examples/gallery/embellishments/colorbar.py +++ b/examples/gallery/embellishments/colorbar.py @@ -21,7 +21,7 @@ from anchor point. - **n**: using normalized (0-1) coordinates, e.g. ``position="n0.4/0.8"``. -Note that the anchor point defaults to Bottom Left (**BL**). Append``+h`` to +Note that the anchor point defaults to Bottom Left (**BL**). Append ``+h`` to ``position`` to get a horizontal colorbar instead of a vertical one (``+v``). """ From 348354577ec88da71aef18a9fd24b62d8579392d Mon Sep 17 00:00:00 2001 From: yvonnefroelich Date: Wed, 7 Aug 2024 18:54:22 +0200 Subject: [PATCH 04/12] Use 'PyGMT' instead of 'GMT' --- doc/techref/encodings.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/techref/encodings.md b/doc/techref/encodings.md index f96d0163deb..fb1ec677f8e 100644 --- a/doc/techref/encodings.md +++ b/doc/techref/encodings.md @@ -1,6 +1,6 @@ # Supported Encodings and Non-ASCII Characters -GMT supports a number of encodings and each encoding contains a set of ASCII and +PyGMT supports a number of encodings and each encoding contains a set of ASCII and non-ASCII characters. In PyGMT, you can use any of these ASCII and non-ASCII characters in arguments and text strings. When using non-ASCII characters in PyGMT, the easiest way is to copy and paste the character from the encoding tables below. From 96fdc6daea9c8d6fb90d36759ba2f10e4c05ee4c Mon Sep 17 00:00:00 2001 From: yvonnefroelich Date: Wed, 7 Aug 2024 18:58:11 +0200 Subject: [PATCH 05/12] Write links in markdown in 'encodings' --- doc/techref/encodings.md | 34 +++++++++++++++++----------------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/doc/techref/encodings.md b/doc/techref/encodings.md index fb1ec677f8e..309b26f19fc 100644 --- a/doc/techref/encodings.md +++ b/doc/techref/encodings.md @@ -108,23 +108,23 @@ the Unicode character set. ## ISO/IEC 8859 PyGMT also supports the ISO/IEC 8859 standard for 8-bit character encodings. Refer to - for descriptions of the different parts of -the standard. +[ISO/IEC_8859](https://en.wikipedia.org/wiki/ISO/IEC_8859) for descriptions of the +different parts of the standard. For a list of the characters in each part of the standard, refer to the following links: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- +- [ISO/IEC_8859-1](https://en.wikipedia.org/wiki/ISO/IEC_8859-1) +- [ISO/IEC_8859-2](https://en.wikipedia.org/wiki/ISO/IEC_8859-2) +- [ISO/IEC_8859-3](https://en.wikipedia.org/wiki/ISO/IEC_8859-3) +- [ISO/IEC_8859-4](https://en.wikipedia.org/wiki/ISO/IEC_8859-4) +- [ISO/IEC_8859-5](https://en.wikipedia.org/wiki/ISO/IEC_8859-5) +- [ISO/IEC_8859-6](https://en.wikipedia.org/wiki/ISO/IEC_8859-6) +- [ISO/IEC_8859-7](https://en.wikipedia.org/wiki/ISO/IEC_8859-7) +- [ISO/IEC_8859-8](https://en.wikipedia.org/wiki/ISO/IEC_8859-8) +- [ISO/IEC_8859-9](https://en.wikipedia.org/wiki/ISO/IEC_8859-9) +- [ISO/IEC_8859-10](https://en.wikipedia.org/wiki/ISO/IEC_8859-10) +- [ISO/IEC_8859-11](https://en.wikipedia.org/wiki/ISO/IEC_8859-11) +- [ISO/IEC_8859-13](https://en.wikipedia.org/wiki/ISO/IEC_8859-13) +- [ISO/IEC_8859-14](https://en.wikipedia.org/wiki/ISO/IEC_8859-14) +- [ISO/IEC_8859-15](https://en.wikipedia.org/wiki/ISO/IEC_8859-15) +- [ISO/IEC_8859-16](https://en.wikipedia.org/wiki/ISO/IEC_8859-16) From 1473bf13dea9cc3a784abbb2e7bd9a33f6ff5ff6 Mon Sep 17 00:00:00 2001 From: yvonnefroelich Date: Wed, 7 Aug 2024 19:26:28 +0200 Subject: [PATCH 06/12] Remove underscores --- doc/techref/encodings.md | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/doc/techref/encodings.md b/doc/techref/encodings.md index 309b26f19fc..d614de26e1d 100644 --- a/doc/techref/encodings.md +++ b/doc/techref/encodings.md @@ -108,23 +108,23 @@ the Unicode character set. ## ISO/IEC 8859 PyGMT also supports the ISO/IEC 8859 standard for 8-bit character encodings. Refer to -[ISO/IEC_8859](https://en.wikipedia.org/wiki/ISO/IEC_8859) for descriptions of the +[ISO/IEC 8859](https://en.wikipedia.org/wiki/ISO/IEC_8859) for descriptions of the different parts of the standard. For a list of the characters in each part of the standard, refer to the following links: -- [ISO/IEC_8859-1](https://en.wikipedia.org/wiki/ISO/IEC_8859-1) -- [ISO/IEC_8859-2](https://en.wikipedia.org/wiki/ISO/IEC_8859-2) -- [ISO/IEC_8859-3](https://en.wikipedia.org/wiki/ISO/IEC_8859-3) -- [ISO/IEC_8859-4](https://en.wikipedia.org/wiki/ISO/IEC_8859-4) -- [ISO/IEC_8859-5](https://en.wikipedia.org/wiki/ISO/IEC_8859-5) -- [ISO/IEC_8859-6](https://en.wikipedia.org/wiki/ISO/IEC_8859-6) -- [ISO/IEC_8859-7](https://en.wikipedia.org/wiki/ISO/IEC_8859-7) -- [ISO/IEC_8859-8](https://en.wikipedia.org/wiki/ISO/IEC_8859-8) -- [ISO/IEC_8859-9](https://en.wikipedia.org/wiki/ISO/IEC_8859-9) -- [ISO/IEC_8859-10](https://en.wikipedia.org/wiki/ISO/IEC_8859-10) -- [ISO/IEC_8859-11](https://en.wikipedia.org/wiki/ISO/IEC_8859-11) -- [ISO/IEC_8859-13](https://en.wikipedia.org/wiki/ISO/IEC_8859-13) -- [ISO/IEC_8859-14](https://en.wikipedia.org/wiki/ISO/IEC_8859-14) -- [ISO/IEC_8859-15](https://en.wikipedia.org/wiki/ISO/IEC_8859-15) -- [ISO/IEC_8859-16](https://en.wikipedia.org/wiki/ISO/IEC_8859-16) +- [ISO/IEC 8859-1](https://en.wikipedia.org/wiki/ISO/IEC_8859-1) +- [ISO/IEC 8859-2](https://en.wikipedia.org/wiki/ISO/IEC_8859-2) +- [ISO/IEC 8859-3](https://en.wikipedia.org/wiki/ISO/IEC_8859-3) +- [ISO/IEC 8859-4](https://en.wikipedia.org/wiki/ISO/IEC_8859-4) +- [ISO/IEC 8859-5](https://en.wikipedia.org/wiki/ISO/IEC_8859-5) +- [ISO/IEC 8859-6](https://en.wikipedia.org/wiki/ISO/IEC_8859-6) +- [ISO/IEC 8859-7](https://en.wikipedia.org/wiki/ISO/IEC_8859-7) +- [ISO/IEC 8859-8](https://en.wikipedia.org/wiki/ISO/IEC_8859-8) +- [ISO/IEC 8859-9](https://en.wikipedia.org/wiki/ISO/IEC_8859-9) +- [ISO/IEC 8859-10](https://en.wikipedia.org/wiki/ISO/IEC_8859-10) +- [ISO/IEC 8859-11](https://en.wikipedia.org/wiki/ISO/IEC_8859-11) +- [ISO/IEC 8859-13](https://en.wikipedia.org/wiki/ISO/IEC_8859-13) +- [ISO/IEC 8859-14](https://en.wikipedia.org/wiki/ISO/IEC_8859-14) +- [ISO/IEC 8859-15](https://en.wikipedia.org/wiki/ISO/IEC_8859-15) +- [ISO/IEC 8859-16](https://en.wikipedia.org/wiki/ISO/IEC_8859-16) From 20bfca851ddb405668753084055b3e98646841c6 Mon Sep 17 00:00:00 2001 From: yvonnefroelich Date: Fri, 9 Aug 2024 10:47:16 +0200 Subject: [PATCH 07/12] Use plural --- examples/gallery/basemaps/ternary.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/gallery/basemaps/ternary.py b/examples/gallery/basemaps/ternary.py index 47edad5ec56..d9a6dcb978d 100644 --- a/examples/gallery/basemaps/ternary.py +++ b/examples/gallery/basemaps/ternary.py @@ -4,7 +4,7 @@ The :meth:`pygmt.Figure.ternary` method can draw ternary diagrams. The example shows how to plot circles with a diameter of 0.1 centimeters -(``style="c0.1c"``) on a 10-centimeter-wide (``width="10c"``) ternary diagram +(``style="c0.1c"``) on a 10-centimeters-wide (``width="10c"``) ternary diagram at the positions listed in the first three columns of the sample dataset ``rock_compositions``, with default annotations and gridline spacings, using the specified labeling defined via ``alabel``, ``blabel``, and ``clabel``. From aa0f60896599d01082874755035216f61b26bbb6 Mon Sep 17 00:00:00 2001 From: yvonnefroelich Date: Fri, 9 Aug 2024 14:12:20 +0200 Subject: [PATCH 08/12] Use consistent arguments for frame parameter --- examples/gallery/basemaps/ternary.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/gallery/basemaps/ternary.py b/examples/gallery/basemaps/ternary.py index d9a6dcb978d..8ad9031f406 100644 --- a/examples/gallery/basemaps/ternary.py +++ b/examples/gallery/basemaps/ternary.py @@ -36,7 +36,7 @@ frame=[ "aafg+lLimestone component+u %", "bafg+lWater component+u %", - "cagf+lAir component+u %", + "cafg+lAir component+u %", ], ) From b455aab9f2163b49aaea73791f4d63db3d5f850e Mon Sep 17 00:00:00 2001 From: yvonnefroelich Date: Sat, 31 Aug 2024 22:42:01 +0200 Subject: [PATCH 09/12] Add missing article --- doc/maintenance.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/maintenance.md b/doc/maintenance.md index aa8ac38471e..fb551f0e0f0 100644 --- a/doc/maintenance.md +++ b/doc/maintenance.md @@ -37,7 +37,7 @@ communication tools we use. the onboarding access checklist: - Move from the [pygmt-maintainers team](https://github.com/orgs/GenericMappingTools/teams/pygmt-maintainers) - to [pygmt-contributors team](https://github.com/orgs/GenericMappingTools/teams/pygmt-contributors) + to the [pygmt-contributors team](https://github.com/orgs/GenericMappingTools/teams/pygmt-contributors) - Move from "Active Maintainers" to "Distinguished Contributors" on the {doc}`Team Gallery page ` - Remove 'maintain' permission from GMT forum, ReadTheDocs, Zenodo From 86ea2e4ce825c5b02f952f13b1ba2e7642c2e192 Mon Sep 17 00:00:00 2001 From: yvonnefroelich Date: Sat, 31 Aug 2024 22:58:03 +0200 Subject: [PATCH 10/12] Improve code for array containing serveral times the same value --- examples/tutorials/advanced/non_ascii_text.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/tutorials/advanced/non_ascii_text.py b/examples/tutorials/advanced/non_ascii_text.py index d51a8084281..fb88c50e46f 100644 --- a/examples/tutorials/advanced/non_ascii_text.py +++ b/examples/tutorials/advanced/non_ascii_text.py @@ -32,14 +32,14 @@ ) fig.text( - x=[0.2, 0.2, 0.2, 0.2, 0.2], + x=[0.2] * 5, y=[5, 4, 3, 2, 1], text=["ASCII:", "ISOLatin1+:", "Symbol:", "ZapfDingbats:", "Mixed:"], font="20p,Helvetica-Bold,red", justify="LM", ) fig.text( - x=[2, 2, 2, 2, 2], + x=[2] * 5, y=[5, 4, 3, 2, 1], text=[ "ABCDE12345!#$:;<=>?", # ASCII only From 1f10488fe85b89e736d4a7d89da2ef85ce158f99 Mon Sep 17 00:00:00 2001 From: yvonnefroelich Date: Sun, 1 Sep 2024 13:24:02 +0200 Subject: [PATCH 11/12] Add articles --- examples/gallery/lines/vector_heads_tails.py | 2 +- examples/gallery/lines/vector_styles.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/gallery/lines/vector_heads_tails.py b/examples/gallery/lines/vector_heads_tails.py index 401f6222952..58f61a7dbbf 100644 --- a/examples/gallery/lines/vector_heads_tails.py +++ b/examples/gallery/lines/vector_heads_tails.py @@ -24,7 +24,7 @@ In the following we use the :meth:`pygmt.Figure.plot` method to plot vectors with individual heads and tails. We must specify the modifiers (together with -the vector type, here ``"v"`` for Cartesian vector, see also +the vector type, here ``"v"`` for Cartesian vector, see also the :doc:`Vector types example `) by passing the corresponding shortcuts to the ``style`` parameter. diff --git a/examples/gallery/lines/vector_styles.py b/examples/gallery/lines/vector_styles.py index 726bfabd642..9c58de0c753 100644 --- a/examples/gallery/lines/vector_styles.py +++ b/examples/gallery/lines/vector_styles.py @@ -4,7 +4,7 @@ The :meth:`pygmt.Figure.plot` method can plot Cartesian, circular, and geographic vectors. The ``style`` parameter controls vector attributes. -See also :doc:`Vector attributes example `. +See also the :doc:`Vector attributes example `. """ # %% From ebaba49c79e34dc3ad1a1d7b54ec91321bd31876 Mon Sep 17 00:00:00 2001 From: yvonnefroelich Date: Tue, 3 Sep 2024 16:58:40 +0200 Subject: [PATCH 12/12] Fix link to projection code 'A' --- doc/techref/projections.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/techref/projections.md b/doc/techref/projections.md index 4f41daf38f9..ac28f305847 100644 --- a/doc/techref/projections.md +++ b/doc/techref/projections.md @@ -16,7 +16,7 @@ The table below shows the projection codes for the 31 GMT map projections: | PyGMT Projection Argument | Projection Name | | --- | --- | -| **A**{{ lon0 }}/{{ lat0 }}[/*horizon*]/*width* | {doc}`Lambert azimuthal equal area ` | +| **A**{{ lon0 }}/{{ lat0 }}[/*horizon*]/*width* | {doc}`Lambert azimuthal equal area ` | | **B**{{ lon0 }}/{{ lat0 }}/{{ lat1 }}/{{ lat2 }}/*width* | {doc}`Albers conic equal area ` | | **C**{{ lon0 }}/{{ lat0 }}/*width* | {doc}`Cassini cylindrical ` | | **Cyl_stere**/[{{ lon0 }}/[{{ lat0 }}/]]*width* | {doc}`Cylindrical stereographic ` |