formatting!

This commit is contained in:
Nexus 2024-03-19 00:13:34 +00:00
parent bb71a681c8
commit 834ab86cca
Signed by: nex
GPG key ID: 0FA334385D0B689F

View file

@ -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")