Feed on
Posts
Comments

matplotlib’s imshow interpolates between pixels by default.

to produce non-interpolated output (more similar to matshow), use the following flag:

interpolation=’nearest’


Bookmark and Share

if that was helpful ...

check out the other tips and tricks i've compiled on these pages. you might learn something else interesting!

Did I get this wrong? Let me know!

Trackback URI | Comments RSS