From fb5e797988476c3256dc7c8261c23b030fc39c1b Mon Sep 17 00:00:00 2001 From: Mez Date: Sun, 20 Jul 2025 20:37:23 +0100 Subject: [PATCH] Change stats colours --- stats.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/stats.py b/stats.py index 07dc63c..318bdb3 100644 --- a/stats.py +++ b/stats.py @@ -618,7 +618,7 @@ while takingoff: else: takingoff = False maxmonthwords = max(allmonths,key=lambda x:x["words"]) -statspage.write("\n\n") +statspage.write("
Words by month (scroll)
\n\n") for month in allmonths: statspage.write("
Words by month (scrolls sideways)
" + month["month"] + "" + str(month["words"]) + " words" + month["month"] + ": " + str(month["fics"]) + " fic") if month["fics"] > 1: @@ -627,5 +627,5 @@ for month in allmonths: statspage.write("
\n") -statspage.write("\n \n \n \n \n \n") +statspage.write("

With assistance from Charts.css. Colour scheme inexpertly taken from here.

\n\n \n \n \n \n \n") statspage.close()