From 5bf77b54c259e20f7df34e7436cea49ed4802f5d Mon Sep 17 00:00:00 2001 From: Vincent Albufera Date: Fri, 9 Mar 2012 13:59:00 +0100 Subject: [PATCH] No interpolation when displaying small patches in example --- doc/examples/plot_gabors_from_lena.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/examples/plot_gabors_from_lena.py b/doc/examples/plot_gabors_from_lena.py index 174c425a..7d22f676 100644 --- a/doc/examples/plot_gabors_from_lena.py +++ b/doc/examples/plot_gabors_from_lena.py @@ -77,13 +77,13 @@ ax0, ax1, ax2, ax3 = axes.ravel() ax0.imshow(lena, cmap=plt.cm.gray) ax0.set_title("Lena (original)") -ax1.imshow(fb1_montage, cmap=plt.cm.gray) +ax1.imshow(fb1_montage, cmap=plt.cm.gray, interpolation='nearest') ax1.set_title("K-means filterbank (codebook)\non Lena (original)") ax2.imshow(lena_dog, cmap=plt.cm.gray) ax2.set_title("Lena (LGN-like DoG)") -ax3.imshow(fb2_montage, cmap=plt.cm.gray) +ax3.imshow(fb2_montage, cmap=plt.cm.gray, interpolation='nearest') ax3.set_title("K-means filterbank (codebook)\non Lena (LGN-like DoG)") for ax in axes.ravel():