This commit is contained in:
Aevann1 2021-09-10 05:45:05 +02:00
parent 0c9a1a0a05
commit 9ec69ae5b0

View file

@ -1210,6 +1210,6 @@ def chart(v):
posts_chart.legend(loc='upper left', frameon=True)
comments_chart.legend(loc='upper left', frameon=True)
plt.savefig("image.png")
plt.savefig("chart.png")
plt.clf()
return send_file("../image.png")
return send_file("../chart.png")