This commit is contained in:
Aevann1 2021-09-24 18:18:55 +02:00
parent ad91013062
commit 1d230517f0
2 changed files with 8 additions and 7 deletions

View file

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