#One way to plot two figure at once
f = plt.figure(1)
plt.plot([1,2],[2,3])
f.show()
g = plt.figure(2)
plt.plot([2,7,3],[5,1,9])
g.show()
import matplotlib.pyplot as plt
plt.plot(<X AXIS VALUES HERE>, <Y AXIS VALUES HERE>, 'line type', label='label here')
plt.plot(<X AXIS VALUES HERE>, <Y AXIS VALUES HERE>, 'line type', label='label here')
plt.legend(loc='best')
plt.show()
plt.figure(1)
#code for first plt
plt.figure(2)
#code for second plt
plt.show()
x=data_price['month']
y = data_price['price_off_peak_var']
y1 = data_price['price_peak_var']
y2 = data_price['price_mid_peak_var']
fig, ax = plt.subplots()
ax.plot(x, y)
ax.plot(x, y1)
plt.show()
plt.figure(1)