Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions pygmt/src/grdfill.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)
Expand Down
6 changes: 0 additions & 6 deletions pygmt/tests/test_grdfill.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
"""
Expand Down
Loading