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 856556f

Browse filesBrowse files
committed
TST: add comment to test about ringing
1 parent ec43d0e commit 856556f
Copy full SHA for 856556f

File tree

Expand file treeCollapse file tree

1 file changed

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

1 file changed

+3
-1
lines changed

‎lib/matplotlib/tests/test_image.py

Copy file name to clipboardExpand all lines: lib/matplotlib/tests/test_image.py
+3-1Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -752,7 +752,8 @@ def test_imshow_masked_interpolation():
752752
data = np.arange(N*N, dtype='float').reshape(N, N)
753753

754754
data[5, 5] = -1
755-
755+
# This will cause crazy ringing for the higher-order
756+
# interpolations
756757
data[15, 5] = 1e5
757758

758759
# data[3, 3] = np.nan
@@ -765,6 +766,7 @@ def test_imshow_masked_interpolation():
765766
data = np.ma.masked_array(data, mask)
766767

767768
fig, ax_grid = plt.subplots(3, 6)
769+
768770
for interp, ax in zip(sorted(mimage._interpd_), ax_grid.ravel()):
769771
ax.set_title(interp)
770772
ax.imshow(data, norm=n, cmap=cm, interpolation=interp)

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.