I\'m trying to visualize a numpy array using imshow() since it\'s similar to imagesc() in Matlab.
imshow(random.rand(8, 90), interpolation=\'nearest\')
That's strange, it definitely works for me:
from matplotlib import pyplot as plt plt.figure(figsize = (20,2)) plt.imshow(random.rand(8, 90), interpolation='nearest')
I am using the "MacOSX" backend, btw.