fix formatting?
This commit is contained in:
parent
0e5b491493
commit
b5d05722d1
1 changed files with 1 additions and 1 deletions
|
@ -37,7 +37,7 @@ class QuoteQuota(commands.Cog):
|
|||
"""
|
||||
|
||||
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()
|
||||
ax.pie(
|
||||
|
|
Loading…
Reference in a new issue