8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ec43d0e commit 856556fCopy full SHA for 856556f
lib/matplotlib/tests/test_image.py
@@ -752,7 +752,8 @@ def test_imshow_masked_interpolation():
752
data = np.arange(N*N, dtype='float').reshape(N, N)
753
754
data[5, 5] = -1
755
-
+ # This will cause crazy ringing for the higher-order
756
+ # interpolations
757
data[15, 5] = 1e5
758
759
# data[3, 3] = np.nan
@@ -765,6 +766,7 @@ def test_imshow_masked_interpolation():
765
766
data = np.ma.masked_array(data, mask)
767
768
fig, ax_grid = plt.subplots(3, 6)
769
+
770
for interp, ax in zip(sorted(mimage._interpd_), ax_grid.ravel()):
771
ax.set_title(interp)
772
ax.imshow(data, norm=n, cmap=cm, interpolation=interp)
0 commit comments