Skip to content

Commit 80ecc16

Browse files
DOCs: Typo fixes in docs for Position class and Figure.velo (#4339)
* Fix typos in docs for Position class * Always use strain crosses in docs of velo
1 parent d66d590 commit 80ecc16

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

pygmt/params/position.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -92,8 +92,8 @@ class Position(BaseParam):
9292
9393
- ``cstype="inside"``: Same as the *reference point* justification code
9494
- ``cstype="outside"``: Mirror opposite of the *reference point* justification code
95-
- Other cstypes: ``"MC"`` (middle center) for map rose and scale, ``"BL"``
96-
(bottom-left) for other embellishments
95+
- Other cstypes: ``"MC"`` (Middle Center) for map rose and scale, ``"BL"``
96+
(Bottom Left) for other embellishments
9797
9898
**Offset**
9999
@@ -119,7 +119,7 @@ class Position(BaseParam):
119119
... )
120120
>>> fig.show()
121121
122-
Position the GMT logo at the top-left corner inside the plot:
122+
Position the GMT logo in the top-left corner inside the plot:
123123
124124
>>> fig = pygmt.Figure()
125125
>>> fig.basemap(region=[0, 10, 0, 10], projection="X10c", frame=True)
@@ -155,7 +155,7 @@ class Position(BaseParam):
155155
anchor: AnchorCode | None = None
156156

157157
#: Offset for the anchor point as a single value or (*offset_x*, *offset_y*).
158-
#: If a single value is given, the offset is applied to both x and y directions.
158+
#: If a single value is given, the offset is applied to both x- and y-directions.
159159
offset: float | str | Sequence[float | str] | None = None
160160

161161
def _validate(self):

pygmt/src/velo.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
"""
2-
velo - Plot velocity vectors, crosses, anisotropy bars, and wedges.
2+
velo - Plot velocity vectors, strain crosses, anisotropy bars, and wedges.
33
"""
44

55
from collections.abc import Sequence
@@ -50,7 +50,7 @@ def velo( # noqa : PLR0913
5050
**kwargs,
5151
):
5252
r"""
53-
Plot velocity vectors, crosses, anisotropy bars, and wedges.
53+
Plot velocity vectors, strain crosses, anisotropy bars, and wedges.
5454
5555
Reads data values from files, :class:`numpy.ndarray` or
5656
:class:`pandas.DataFrame` and plots the selected geodesy symbol on a map.

0 commit comments

Comments
 (0)