@@ -77,7 +77,7 @@ def _validate_params(
77
77
# TODO(PyGMT>=0.19.0): Remove the deprecated 'no_data' parameter.
78
78
# TODO(PyGMT>=0.19.0): Remove the deprecated 'mode' parameter.
79
79
@deprecate_parameter ("no_data" , "hole" , "v0.15.0" , remove_version = "v0.19.0" )
80
- @use_alias (N = "hole" , R = "region" , f = "coltypes" )
80
+ @use_alias (R = "region" , f = "coltypes" )
81
81
@kwargs_to_strings (R = "sequence" )
82
82
def grdfill (
83
83
grid : PathLike | xr .DataArray ,
@@ -87,6 +87,7 @@ def grdfill(
87
87
neighborfill : float | bool | None = None ,
88
88
splinefill : float | bool | None = None ,
89
89
inquire : bool = False ,
90
+ hole : float | None = None ,
90
91
mode : str | None = None ,
91
92
verbose : Literal ["quiet" , "error" , "warning" , "timing" , "info" , "compat" , "debug" ]
92
93
| bool = False ,
@@ -109,6 +110,7 @@ def grdfill(
109
110
- An = neighborfill
110
111
- As = splinefill
111
112
- L = inquire
113
+ - N = hole
112
114
- V = verbose
113
115
114
116
Parameters
@@ -128,7 +130,7 @@ def grdfill(
128
130
splinefill
129
131
Fill the holes with a bicubic spline. Specify the tension value to use. If set
130
132
to ``True``, no tension will be used.
131
- hole : float
133
+ hole
132
134
Set the node value used to identify a point as a member of a hole [Default is
133
135
NaN].
134
136
inquire
@@ -187,6 +189,7 @@ def grdfill(
187
189
An = Alias (neighborfill , name = "neighborfill" ),
188
190
As = Alias (splinefill , name = "splinefill" ),
189
191
L = Alias (inquire , name = "inquire" ),
192
+ N = Alias (hole , name = "hole" ),
190
193
).add_common (
191
194
V = verbose ,
192
195
)
0 commit comments