Printing a picture from a Python jupyter notebook.

Words
28
Reading
1 min
Listen
Play
9y

%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.
Printing a picture from a Python jupyter notebook. | Ecency