From 834ab86ccacd1a8cd080a5306a996523125b689e Mon Sep 17 00:00:00 2001 From: nexy7574 Date: Tue, 19 Mar 2024 00:13:34 +0000 Subject: [PATCH] formatting! --- src/cogs/quote_quota.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/cogs/quote_quota.py b/src/cogs/quote_quota.py index 42240ef..95541d4 100644 --- a/src/cogs/quote_quota.py +++ b/src/cogs/quote_quota.py @@ -39,11 +39,10 @@ class QuoteQuota(commands.Cog): ax.pie( counts, labels=usernames, - autopct='%1.1f%%', + autopct='%1.1f%% (%d)', ) - ax.legend(loc="upper right") fio = io.BytesIO() - fig.savefig(fio, format='jpg') + fig.savefig(fio, format='jpg', bbox_inches='tight') fio.seek(0) return discord.File(fio, filename="pie.jpeg")