Skip to content

Commit df3f93c

Browse files
dstansbyQuLogic
andauthored
Reduce size of test data
Co-authored-by: Elliott Sales de Andrade <[email protected]>
1 parent 928e58c commit df3f93c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/matplotlib/tests/test_axes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -964,7 +964,7 @@ def test_hexbin_extent():
964964

965965
def test_hexbin_bad_extents():
966966
fig, ax = plt.subplots()
967-
data = (np.arange(2000) / 2000).reshape((2, 1000))
967+
data = (np.arange(20) / 20).reshape((2, 10))
968968
x, y = data
969969

970970
with pytest.raises(ValueError, match="In extent, xmax must be greater than xmin"):

0 commit comments

Comments
 (0)