diff --git a/pygmt/src/grdfill.py b/pygmt/src/grdfill.py index c897010787d..1492e1e9c73 100644 --- a/pygmt/src/grdfill.py +++ b/pygmt/src/grdfill.py @@ -76,10 +76,8 @@ def _validate_params( @fmt_docstring -# TODO(PyGMT>=0.19.0): Remove the deprecated 'no_data' parameter. # TODO(PyGMT>=0.19.0): Remove the deprecated 'mode' parameter. # TODO(PyGMT>=0.20.0): Remove the deprecated '*fill' parameters. -@deprecate_parameter("no_data", "hole", "v0.15.0", remove_version="v0.19.0") @deprecate_parameter( "constantfill", "constant_fill", "v0.18.0", remove_version="v0.20.0" ) diff --git a/pygmt/tests/test_grdfill.py b/pygmt/tests/test_grdfill.py index 8540eadbd3d..16788229f86 100644 --- a/pygmt/tests/test_grdfill.py +++ b/pygmt/tests/test_grdfill.py @@ -131,12 +131,6 @@ def test_grdfill_hole(grid, expected_grid): assert result.gmt.registration is GridRegistration.PIXEL xr.testing.assert_allclose(a=result, b=expected_grid) - # Test the deprecated 'no_data' parameter. - # TODO(PyGMT>=0.19.0): Remove the following lines. - with pytest.warns(FutureWarning): - result2 = grdfill(grid=grid_no_nan, constant_fill=20, no_data=-99999) - xr.testing.assert_allclose(a=result2, b=expected_grid) - def test_grdfill_inquire(grid): """