File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change 99from pygmt ._typing import PathLike , TableLike
1010from pygmt .alias import Alias , AliasSystem
1111from pygmt .clib import Session
12- from pygmt .helpers import build_arg_list , fmt_docstring , use_alias
12+ from pygmt .helpers import build_arg_list , deprecate_parameter , fmt_docstring , use_alias
1313
1414__doctest_skip__ = ["surface" ]
1515
1616
1717@fmt_docstring
18+ @deprecate_parameter ("maxradius" , "max_radius" , "v0.18.0" , remove_version = "v0.20.0" )
1819@use_alias (
1920 C = "convergence" ,
2021 Ll = "lower" ,
2122 Lu = "upper" ,
22- M = "maxradius " ,
23+ M = "max_radius " ,
2324 T = "tension" ,
2425 a = "aspatial" ,
2526 b = "binary" ,
@@ -104,9 +105,9 @@ def surface(
104105 This is the final convergence limit at the desired grid spacing;
105106 for intermediate (coarser) grids the effective convergence limit is
106107 divided by the grid spacing multiplier.
107- maxradius : float or str
108+ max_radius : float or str
108109 Optional. After solving for the surface, apply a mask so that nodes
109- farther than ``maxradius `` away from a data constraint are set to NaN
110+ farther than ``max_radius `` away from a data constraint are set to NaN
110111 [Default is no masking]. Append a distance unit (see
111112 :gmt-docs:`Units <surface.html#units>`) if needed. One can also
112113 select the nodes to mask by using the *n_cells*\ **c** form. Here
You can’t perform that action at this time.
0 commit comments