%pylab inline
import matplotlib.pyplot as plt
import matplotlib.image as mpimg
img=mpimg.imread('poster.jpg')
imgplot = plt.imshow(img)
plt.show()
- result
*The image must be at the address where you run the application.
%pylab inline
import matplotlib.pyplot as plt
import matplotlib.image as mpimg
img=mpimg.imread('poster.jpg')
imgplot = plt.imshow(img)
plt.show()