From d6ec67d7200cac95341c8a421210b6a06e2407cb Mon Sep 17 00:00:00 2001 From: Aevann Date: Wed, 6 Sep 2023 20:13:11 +0300 Subject: [PATCH] actually readable labels for charts --- files/helpers/stats.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/files/helpers/stats.py b/files/helpers/stats.py index 181c429b4..d7a2a041c 100644 --- a/files/helpers/stats.py +++ b/files/helpers/stats.py @@ -71,10 +71,9 @@ def chart(kind, site): posts_chart.set_ylim(ymin=0) comments_chart.set_ylim(ymin=0) - signup_chart.set_ylabel("Signups") - posts_chart.set_ylabel("Posts") - comments_chart.set_ylabel("Comments") - comments_chart.set_xlabel("Time (UTC) YYYY-MM-DD") + signup_chart.set_xlabel("Signups", labelpad=10.0, size=30) + posts_chart.set_xlabel("Posts", labelpad=10.0, size=30) + comments_chart.set_xlabel("Comments", labelpad=10.0, size=30) file = chart_path(kind, site)