fix formatting?

This commit is contained in:
Nexus 2024-03-19 00:16:19 +00:00
parent 0e5b491493
commit b5d05722d1
Signed by: nex
GPG key ID: 0FA334385D0B689F

View file

@ -37,7 +37,7 @@ class QuoteQuota(commands.Cog):
""" """
def pct(v: int): def pct(v: int):
return f"{v / sum(counts) * 100:.1f}% ({v})" return f"{v:.1f}% ({(v / 100) * sum(counts):0f})"
fig, ax = plt.subplots() fig, ax = plt.subplots()
ax.pie( ax.pie(