Skip to content

Commit 51e9a48

Browse files
DOC: Fix typos for v0.16.0 (#3972)
1 parent 474af0a commit 51e9a48

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

pygmt/src/grd2cpt.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -82,10 +82,10 @@ def grd2cpt(grid: PathLike | xr.DataArray, **kwargs):
8282
Parameters
8383
----------
8484
{grid}
85-
transparency : int or float or str
86-
Set a constant level of transparency (0-100) for all color slices.
87-
Append **+a** to also affect the foreground, background, and NaN
88-
colors [Default is no transparency, i.e., ``0`` (opaque)].
85+
transparency : float or str
86+
Set a constant level of transparency (0-100) for all color slices. Append **+a**
87+
to also affect the foreground, background, and NaN colors [Default is no
88+
transparency, i.e., ``0`` (opaque)].
8989
cmap : str
9090
Select the master color palette table (CPT) to use in the
9191
interpolation. Full list of built-in color palette tables can be found

pygmt/src/makecpt.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -70,10 +70,10 @@ def makecpt(**kwargs):
7070
7171
Parameters
7272
----------
73-
transparency : str
74-
Set a constant level of transparency (0-100) for all color slices.
75-
Append **+a** to also affect the foreground, background, and NaN
76-
colors [Default is no transparency, i.e., ``0`` (opaque)].
73+
transparency : float or str
74+
Set a constant level of transparency (0-100) for all color slices. Append **+a**
75+
to also affect the foreground, background, and NaN colors [Default is no
76+
transparency, i.e., ``0`` (opaque)].
7777
cmap : str
7878
Select the master color palette table (CPT) to use in the
7979
interpolation. Full list of built-in color palette tables can be found

0 commit comments

Comments
 (0)