Matplotlib - Seaborn Integration
Identify the error in this code snippet that tries to add a legend:
import matplotlib.pyplot as plt plt.plot([1, 2, 3], label='Line 1') plt.legend() plt.show()
