Skip to content

Commit ad3365b

Browse files
authored
WIP: Migrate test_contour to use dvc
As discussed in #1131, this PR moves the reference figures in fig.contour to use dvc.
1 parent e4cb775 commit ad3365b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pygmt/tests/test_contour.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ def test_contour_vec(region):
8383
y = y.flatten()
8484
z = (x - 0.5 * (region[0] + region[1])) ** 2 + 4 * y ** 2
8585
z = np.exp(-z / 10 ** 2 * np.log(2))
86-
fig.contour(x=x, y=y, z=z, projection="X4i", region=region, frame="a", pen="")
86+
fig.contour(x=x, y=y, z=z, projection="X4c", region=region, frame="a", pen="")
8787
return fig
8888

8989

@@ -93,7 +93,7 @@ def test_contour_matrix(data, region):
9393
Plot data.
9494
"""
9595
fig = Figure()
96-
fig.contour(data=data, projection="X3i", region=region, frame="ag", pen="")
96+
fig.contour(data=data, projection="X3c", region=region, frame="ag", pen="")
9797
return fig
9898

9999

@@ -104,6 +104,6 @@ def test_contour_from_file(region):
104104
"""
105105
fig = Figure()
106106
fig.contour(
107-
data=POINTS_DATA, projection="X4i", region=region, frame="af", pen="#ffcb87"
107+
data=POINTS_DATA, projection="X4c", region=region, frame="af", pen="#ffcb87"
108108
)
109109
return fig

0 commit comments

Comments
 (0)