Matplotlib - Export and Publication Quality
Identify the error in this code snippet:
import matplotlib.pyplot as plt
plt.plot([1,2,3])
plt.savefig('figure.jpg', rasterized=True)