8000 Reduce size of test data · matplotlib/matplotlib@8b6748e · GitHub
[go: up one dir, main page]

Skip to content

Commit 8b6748e

Browse files
committed
Reduce size of test data
1 parent ba1b589 commit 8b6748e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/matplotlib/tests/test_colors.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -598,7 +598,7 @@ def test_PowerNorm_translation_invariance():
598598
def test_powernorm_cbar_limits():
599599
fig, ax = plt.subplots()
600600
vmin, vmax = 300, 1000
601-
data = np.arange(100*100).reshape(100, 100) + vmin
601+
data = np.arange(10*10).reshape(10, 10) + vmin
602602
im = ax.imshow(data, norm=mcolors.PowerNorm(gamma=0.2, vmin=vmin, vmax=vmax))
603603
cbar = fig.colorbar(im)
604604
assert cbar.ax.get_ylim() == (vmin, vmax)

0 commit comments

Comments
 (0)
0