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

1
.gitignore vendored
View file

@ -1,5 +1,4 @@
image.* image.*
chart.png
video.mp4 video.mp4
video.webm video.webm
cache/ cache/

BIN
chart.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 77 KiB

View file

@ -138,7 +138,7 @@ def cached_chart():
posts_chart.legend(loc='upper left', frameon=True) posts_chart.legend(loc='upper left', frameon=True)
comments_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.savefig(file)
plt.clf() plt.clf()
return file return file