Printing a picture from a Python jupyter notebook.

in python •  7 years ago 

%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.
Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!