diff --git a/pygmt/tests/baseline/test_grd2cpt.png.dvc b/pygmt/tests/baseline/test_grd2cpt.png.dvc index f55edee9848..b50b4f2ff6b 100644 --- a/pygmt/tests/baseline/test_grd2cpt.png.dvc +++ b/pygmt/tests/baseline/test_grd2cpt.png.dvc @@ -1,4 +1,4 @@ outs: -- md5: 305e3650aa4ed9a56bec58be3a0d752b - size: 22460 +- md5: 6d535fbb53a470a3a12fafeab1cf4f66 + size: 22230 path: test_grd2cpt.png diff --git a/pygmt/tests/test_grd2cpt.py b/pygmt/tests/test_grd2cpt.py index 59c1e4b7f42..a1afa97312a 100644 --- a/pygmt/tests/test_grd2cpt.py +++ b/pygmt/tests/test_grd2cpt.py @@ -5,9 +5,9 @@ import pytest from pygmt import Figure, grd2cpt -from pygmt.datasets import load_earth_relief from pygmt.exceptions import GMTInvalidInput from pygmt.helpers import GMTTempFile +from pygmt.helpers.testing import load_static_earth_relief @pytest.fixture(scope="module", name="grid") @@ -15,7 +15,7 @@ def fixture_grid(): """ Load the grid data from the sample earth_relief file. """ - return load_earth_relief() + return load_static_earth_relief() @pytest.mark.mpl_image_compare @@ -27,7 +27,7 @@ def test_grd2cpt(grid): fig = Figure() fig.basemap(frame="a", projection="W0/15c", region="d") grd2cpt(grid=grid) - fig.colorbar(frame="a2000") + fig.colorbar(frame="a") return fig