Matplotlib - Image Display
Identify the error in this code snippet that tries to display an image:
import matplotlib.pyplot as plt
img = plt.imread('photo.jpg')
plt.imshow(img)
plt.show