Skip to content

Commit 6dc8eb0

Browse files
yvonnefroehlichmichaelgrundseisman
authored
Fix typos in documentation and codes (#3370)
Co-authored-by: Michael Grund <[email protected]> Co-authored-by: Dongdong Tian <[email protected]>
1 parent 9300bec commit 6dc8eb0

File tree

8 files changed

+11
-11
lines changed

8 files changed

+11
-11
lines changed

doc/maintenance.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ communication tools we use.
3737
the onboarding access checklist:
3838

3939
- Move from the [pygmt-maintainers team](https://github.com/orgs/GenericMappingTools/teams/pygmt-maintainers)
40-
to [pygmt-contributors team](https://github.com/orgs/GenericMappingTools/teams/pygmt-contributors)
40+
to the [pygmt-contributors team](https://github.com/orgs/GenericMappingTools/teams/pygmt-contributors)
4141
- Move from "Active Maintainers" to "Distinguished Contributors" on the {doc}`Team Gallery page <team>`
4242
- Remove 'maintain' permission from GMT forum, ReadTheDocs, Zenodo
4343

doc/techref/encodings.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ def get_charset_mdtable(name):
3131

3232
# Supported Encodings and Non-ASCII Characters
3333

34-
GMT supports a number of encodings and each encoding contains a set of ASCII and
34+
PyGMT supports a number of encodings and each encoding contains a set of ASCII and
3535
non-ASCII characters. In PyGMT, you can use any of these ASCII and non-ASCII characters
3636
in arguments and text strings. When using non-ASCII characters in PyGMT, the easiest way
3737
is to copy and paste the character from the encoding tables below.

doc/techref/projections.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ The table below shows the projection codes for the 31 GMT map projections:
1616

1717
| PyGMT Projection Argument | Projection Name |
1818
| --- | --- |
19-
| **A**{{ lon0 }}/{{ lat0 }}[/*horizon*]/*width* | {doc}`Lambert azimuthal equal area </projections/azim/azim_equidistant>` |
19+
| **A**{{ lon0 }}/{{ lat0 }}[/*horizon*]/*width* | {doc}`Lambert azimuthal equal area </projections/azim/azim_lambert>` |
2020
| **B**{{ lon0 }}/{{ lat0 }}/{{ lat1 }}/{{ lat2 }}/*width* | {doc}`Albers conic equal area </projections/conic/conic_albers>` |
2121
| **C**{{ lon0 }}/{{ lat0 }}/*width* | {doc}`Cassini cylindrical </projections/cyl/cyl_cassini>` |
2222
| **Cyl_stere**/[{{ lon0 }}/[{{ lat0 }}/]]*width* | {doc}`Cylindrical stereographic </projections/cyl/cyl_stereographic>` |

examples/gallery/basemaps/ternary.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
55
The :meth:`pygmt.Figure.ternary` method can draw ternary diagrams. The example
66
shows how to plot circles with a diameter of 0.1 centimeters
7-
(``style="c0.1c"``) on a 10-centimeter-wide (``width="10c"``) ternary diagram
7+
(``style="c0.1c"``) on a 10-centimeters-wide (``width="10c"``) ternary diagram
88
at the positions listed in the first three columns of the sample dataset
99
``rock_compositions``, with default annotations and gridline spacings, using
1010
the specified labeling defined via ``alabel``, ``blabel``, and ``clabel``.
@@ -36,7 +36,7 @@
3636
frame=[
3737
"aafg+lLimestone component+u %",
3838
"bafg+lWater component+u %",
39-
"cagf+lAir component+u %",
39+
"cafg+lAir component+u %",
4040
],
4141
)
4242

examples/gallery/embellishments/colorbar.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@
2121
from anchor point.
2222
- **n**: using normalized (0-1) coordinates, e.g. ``position="n0.4/0.8"``.
2323
24-
Note that the anchor point defaults to the bottom left (**BL**). Append ``+h``
25-
to ``position`` to get a horizontal colorbar instead of a vertical one (``+v``).
24+
Note that the anchor point defaults to Bottom Left (**BL**). Append ``+h`` to
25+
``position`` to get a horizontal colorbar instead of a vertical one (``+v``).
2626
"""
2727

2828
# %%

examples/gallery/lines/vector_heads_tails.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
2525
In the following we use the :meth:`pygmt.Figure.plot` method to plot vectors
2626
with individual heads and tails. We must specify the modifiers (together with
27-
the vector type, here ``"v"`` for Cartesian vector, see also
27+
the vector type, here ``"v"`` for Cartesian vector, see also the
2828
:doc:`Vector types example </gallery/lines/vector_styles>`)
2929
by passing the corresponding shortcuts to the ``style`` parameter.
3030

examples/gallery/lines/vector_styles.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
55
The :meth:`pygmt.Figure.plot` method can plot Cartesian, circular, and
66
geographic vectors. The ``style`` parameter controls vector attributes.
7-
See also :doc:`Vector attributes example </gallery/lines/vector_heads_tails>`.
7+
See also the :doc:`Vector attributes example </gallery/lines/vector_heads_tails>`.
88
"""
99

1010
# %%

examples/tutorials/advanced/non_ascii_text.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -32,14 +32,14 @@
3232
)
3333

3434
fig.text(
35-
x=[0.2, 0.2, 0.2, 0.2, 0.2],
35+
x=[0.2] * 5,
3636
y=[5, 4, 3, 2, 1],
3737
text=["ASCII:", "ISOLatin1+:", "Symbol:", "ZapfDingbats:", "Mixed:"],
3838
font="20p,Helvetica-Bold,red",
3939
justify="LM",
4040
)
4141
fig.text(
42-
x=[2, 2, 2, 2, 2],
42+
x=[2] * 5,
4343
y=[5, 4, 3, 2, 1],
4444
text=[
4545
"ABCDE12345!#$:;<=>?", # ASCII only

0 commit comments

Comments
 (0)