Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

display 2d numpy array as image

from matplotlib import pyplot as plt
plt.imshow(data, interpolation='nearest')
plt.show()
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #display #numpy #array #image
ADD COMMENT
Topic
Name
6+5 =