# set up plot
plt.figure(figsize=(10,5))
plt.xlabel('day of year 2017')# plot data
plt.plot(test_2017.index,test_2017['0axt'],'r',label='temperature')# plt.plot(data['year'],data['snowprop']*100,'b',label='snow cover %')# plt.plot(data['year'],100-data['snowprop']*100,'c',label='snow free cover %')
plt.plot(test_2017.index,test_2017['discharge']/100.,'g',label='river flow / 100')
plt.legend(loc='best')
# set up plot
plt.figure(figsize=(10,5))
plt.xlabel('day of year 2018')# plot data
plt.plot(test_2018.index,test_2018['0axt'],'r',label='temperature')# plt.plot(data['year'],data['snowprop']*100,'b',label='snow cover %')# plt.plot(data['year'],100-data['snowprop']*100,'c',label='snow free cover %')
plt.plot(test_2018.index,test_2018['discharge']/100.,'g',label='river flow / 100')
plt.legend(loc='best')