master
Aevann1 2021-09-10 05:45:05 +02:00
parent d2a85b9ec5
commit c99f30c76b
1 changed files with 2 additions and 2 deletions

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")