We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 819fc1d commit 036e54cCopy full SHA for 036e54c
pygmt/tests/test_grdcontour.py
@@ -22,16 +22,15 @@ def fixture_grid():
22
return load_earth_relief(registration="gridline")
23
24
25
-@check_figures_equal()
+@pytest.mark.mpl_image_compare
26
def test_grdcontour(grid):
27
"""
28
Plot a contour image using an xarray grid with fixed contour interval.
29
30
- fig_ref, fig_test = Figure(), Figure()
+ fig = Figure()
31
kwargs = dict(interval="1000", projection="W0/6i")
32
- fig_ref.grdcontour("@earth_relief_01d_g", **kwargs)
33
- fig_test.grdcontour(grid, **kwargs)
34
- return fig_ref, fig_test
+ fig.grdcontour(grid, **kwargs)
+ return fig
35
36
37
@check_figures_equal()
0 commit comments