File tree Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Original file line number Diff line number Diff 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
Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments