putting charts in Charts dir
This commit is contained in:
@@ -105,7 +105,7 @@ f.subplots_adjust(top=0.9)
|
|||||||
plt.suptitle("Last Updated: "+ str(now.strftime("%B, %d at %I:%M%P")))
|
plt.suptitle("Last Updated: "+ str(now.strftime("%B, %d at %I:%M%P")))
|
||||||
|
|
||||||
#Save combined plot
|
#Save combined plot
|
||||||
savename='/home/pi/BirdSongs/Extracted/Combo-'+str(now.strftime("%d-%m-%Y"))+'.png'
|
savename='/home/pi/BirdSongs/Extracted/Charts/Combo-'+str(now.strftime("%d-%m-%Y"))+'.png'
|
||||||
plt.savefig(savename)
|
plt.savefig(savename)
|
||||||
plt.close()
|
plt.close()
|
||||||
|
|
||||||
@@ -148,7 +148,7 @@ f.subplots_adjust(top=0.9)
|
|||||||
plt.suptitle("Bottom 10 Detected: "+ str(now.strftime("%d-%h-%Y %H:%M")))
|
plt.suptitle("Bottom 10 Detected: "+ str(now.strftime("%d-%h-%Y %H:%M")))
|
||||||
plot.set(xlabel="Hour of Day")
|
plot.set(xlabel="Hour of Day")
|
||||||
#Save combined plot
|
#Save combined plot
|
||||||
savename='/home/pi/BirdSongs/Extracted/Combo2-'+str(now.strftime("%d-%m-%Y"))+'.png'
|
savename='/home/pi/BirdSongs/Extracted/Charts/Combo2-'+str(now.strftime("%d-%m-%Y"))+'.png'
|
||||||
plt.savefig(savename)
|
plt.savefig(savename)
|
||||||
|
|
||||||
plt.close()
|
plt.close()
|
||||||
|
|||||||
Reference in New Issue
Block a user