Skip to content

Commit

Permalink
Switched deprecated b param for visible in ax.grid
Browse files Browse the repository at this point in the history
  • Loading branch information
ericthelemur committed Sep 4, 2023
1 parent 834e7a4 commit 96a3d52
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cogs/commands/karma.py
Original file line number Diff line number Diff line change
Expand Up @@ -144,8 +144,8 @@ async def plot_karma(
ax.xaxis.set_major_locator(date_locator_major)
ax.xaxis.set_minor_locator(date_locator_minor)
ax.xaxis.set_major_formatter(date_format)
ax.grid(b=True, which="minor", color="0.9", linestyle=":")
ax.grid(b=True, which="major", color="0.5", linestyle="--")
ax.grid(visible=True, which="minor", color="0.9", linestyle=":")
ax.grid(visible=True, which="major", color="0.5", linestyle="--")
ax.set(
xlabel="Time",
ylabel="Karma",
Expand Down

0 comments on commit 96a3d52

Please sign in to comment.