Skip to content

Commit 1ba647e

Browse files
committed
transpose input data
1 parent 9c93bdd commit 1ba647e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pygmt/tests/test_contour.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ def test_contour_deprecate_columns_to_incols(region):
129129

130130
# generate dataframe
131131
# switch x and y from here onwards to simulate different column order
132-
data = np.array([y, x, z])
132+
data = np.array([y, x, z]).T
133133
data = pd.DataFrame(data=data)
134134

135135
with pytest.warns(expected_warning=FutureWarning) as record:

0 commit comments

Comments
 (0)