Mostrar matriz 2d numpy como imagen

from matplotlib import pyplot as plt
plt.imshow(data, interpolation='nearest')
plt.show()
slohobo