dsfsf
This commit is contained in:
parent
95e96a2551
commit
7c4c2315a1
3 changed files with 1 additions and 2 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -1,5 +1,4 @@
|
||||||
image.*
|
image.*
|
||||||
chart.png
|
|
||||||
video.mp4
|
video.mp4
|
||||||
video.webm
|
video.webm
|
||||||
cache/
|
cache/
|
||||||
|
|
BIN
chart.png
Normal file
BIN
chart.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 77 KiB |
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue