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):
82
82
Parameters
83
83
----------
84
84
{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)].
89
89
cmap : str
90
90
Select the master color palette table (CPT) to use in the
91
91
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):
70
70
71
71
Parameters
72
72
----------
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)].
77
77
cmap : str
78
78
Select the master color palette table (CPT) to use in the
79
79
interpolation. Full list of built-in color palette tables can be found
You can’t perform that action at this time.
0 commit comments