Matplotlib - Real-World Visualization Patterns
Identify the error in this code that tries to create a 2x2 grid of plots:
import matplotlib.pyplot as plt plt.subplot(2, 2, 1) plt.plot([1,2,3]) plt.subplot(2, 2, 5) plt.plot([3,2,1]) plt.show()
