honestly what am I even doing with pie charts now

This commit is contained in:
Nexus 2024-03-19 00:39:55 +00:00
parent f226a0ac41
commit 17b947f0e5
Signed by: nex
GPG key ID: 0FA334385D0B689F

View file

@ -63,10 +63,10 @@ class QuoteQuota(commands.Cog):
labels=usernames, labels=usernames,
autopct=pct, autopct=pct,
startangle=90, startangle=90,
radius=1.3, radius=1.2,
) )
fig.subplots_adjust(left=0.1, bottom=0.1, right=0.9, top=0.9, wspace=0.3, hspace=0.4)
fio = io.BytesIO() fio = io.BytesIO()
plt.subplots_adjust(left=0.1, bottom=0.1, right=0.9, top=0.9)
fig.savefig(fio, format='png') fig.savefig(fio, format='png')
fio.seek(0) fio.seek(0)
return discord.File(fio, filename="pie.png") return discord.File(fio, filename="pie.png")