import matplotlib.pyplot as plt # Generate sample data x = [1, 2, 3, 4, 5] y = [2, 4, 6, 8, 10] plt.figure(figsize=(6, 4)) plt.plot(x, y, label='Linear Growth') plt.legend() plt.show()