Relationship between two measures
ad_spend = np.array([5, 10, 15, 20, 25, 30])
sales = np.array([60, 85, 110, 120, 150, 165])
plt.scatter(ad_spend, sales)
Two charts in a grid, stateful style
plt.figure(figsize=(8, 3))
plt.subplot(1, 2, 1)
plt.plot(month, revenue, 'r--')
plt.subplot(1, 2, 2)
plt.plot(month, units, 'g*-')