2.6.8.1. Displaying a Racoon FaceΒΆ

Small example to plot a racoon face.

../../../_images/sphx_glr_plot_face_001.png
from scipy import misc
import imageio
f = misc.face()
imageio.imsave('face.png', f) # uses the Image module (PIL)
import matplotlib.pyplot as plt
plt.imshow(f)
plt.show()

Total running time of the script: ( 0 minutes 0.704 seconds)

Gallery generated by Sphinx-Gallery