Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 8b6748e

Browse filesBrowse files
committed
Reduce size of test data
1 parent ba1b589 commit 8b6748e
Copy full SHA for 8b6748e

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed

‎lib/matplotlib/tests/test_colors.py

Copy file name to clipboardExpand all lines: lib/matplotlib/tests/test_colors.py
+1-1Lines 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)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.