remove interpolation in imshow
October 1st, 2012 by Lawrence David
matplotlib’s imshow interpolates between pixels by default.
to produce non-interpolated output (more similar to matshow), use the following flag:
interpolation=’nearest’
October 1st, 2012 by Lawrence David
matplotlib’s imshow interpolates between pixels by default.
to produce non-interpolated output (more similar to matshow), use the following flag:
interpolation=’nearest’