mirror of
https://github.com/brandons209/Red-bot-Cogs.git
synced 2024-05-19 03:42:33 +12:00
pranked
This commit is contained in:
parent
89d7b50d1c
commit
34d8f638a8
|
@ -1290,7 +1290,7 @@ class ActivityLogger(commands.Cog):
|
|||
save_path = str(PATH / f"plot_{ctx.message.id}.png")
|
||||
table_save_path = str(PATH / f"plot_data_{ctx.message.id}.txt")
|
||||
|
||||
plt.bar(df.iloc[:10].index, df.iloc[:10, "num_messages"], width=0.5)
|
||||
plt.bar(df.head(10).index, df.head(10)["num_messages"], width=0.5)
|
||||
|
||||
# make graph look nice
|
||||
plt.title(
|
||||
|
@ -1421,7 +1421,7 @@ class ActivityLogger(commands.Cog):
|
|||
save_path = str(PATH / f"plot_{ctx.message.id}.png")
|
||||
table_save_path = str(PATH / f"plot_data_{ctx.message.id}.txt")
|
||||
|
||||
plt.bar(df.iloc[:10].index, df.iloc[:10, "num_messages"], width=0.5)
|
||||
plt.bar(df.head(10).index, df.head(10)["num_messages"], width=0.5)
|
||||
|
||||
# make graph look nice
|
||||
plt.title(
|
||||
|
|
Loading…
Reference in a new issue