From ff84f32e45eae0504e032208bf4e992754512a1c Mon Sep 17 00:00:00 2001 From: justcool393 Date: Sun, 23 Oct 2022 10:46:03 -0500 Subject: [PATCH] make stats charts tight --- files/helpers/stats.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/helpers/stats.py b/files/helpers/stats.py index bd98613c6..ed91b6970 100644 --- a/files/helpers/stats.py +++ b/files/helpers/stats.py @@ -82,7 +82,7 @@ def chart(kind, site): file = chart_path(kind, site) - plt.savefig(file) + plt.savefig(file, bbox_inches='tight') plt.clf() return file