Matplotlib - Real-World Visualization Patterns
Identify the error in this code for before-after bar plot:
import matplotlib.pyplot as plt before = [3, 4] after = [5, 6] plt.bar([0, 1], before) plt.bar([0, 1], after) plt.show()
