show image in matplotlib

Solutions on MaxInterview for show image in matplotlib by the best coders in the world

showing results for - "show image in matplotlib"
Valerio
30 Jan 2020
1%pylab inline
2import matplotlib.pyplot as plt
3import matplotlib.image as mpimg
4img = mpimg.imread('your_image.png')
5imgplot = plt.imshow(img)
6plt.show()
similar questions
queries leading to this page
show image in matplotlib