This commit is contained in:
Aevann1 2021-12-15 23:14:52 +02:00
parent 95e96a2551
commit 7c4c2315a1
3 changed files with 1 additions and 2 deletions

View file

@ -138,7 +138,7 @@ def cached_chart():
posts_chart.legend(loc='upper left', frameon=True)
comments_chart.legend(loc='upper left', frameon=True)
file = "chart.png"
file = "/chart.png"
plt.savefig(file)
plt.clf()
return file