Pedroski
0
Q:

python show png

%pylab inline
import matplotlib.pyplot as plt
import matplotlib.image as mpimg
img = mpimg.imread('your_image.png')
imgplot = plt.imshow(img)
plt.show()
0
from PIL import Image

image = Image.open('image.jpg')
image.show()
0

New to Communities?

Join the community