Skip to content

Commit

Permalink
Fix conflicting background colours
Browse files Browse the repository at this point in the history
  • Loading branch information
SmCTwelve committed Jul 31, 2023
1 parent 362b86f commit 91b6534
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions f1/cogs/plot.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@ async def stints(self, ctx: ApplicationContext, year: options.SeasonOption, roun
# Get driver labels
drivers = [session.get_driver(d)["Abbreviation"] for d in session.drivers]

plt.style.use("dark_background")
fig, ax = plt.subplots(figsize=(6, 10), dpi=DPI)

for driver in drivers:
Expand Down Expand Up @@ -322,8 +321,8 @@ async def telemetry(self, ctx: ApplicationContext,
ax[4].set_ylabel("RPM")

ax[5].set_ylabel("DRS")
ax[5].set_yticks([0, 1])
ax[5].set_yticklabels(["", ""])
ax[5].set_yticks([0.0, 15.0])
ax[5].set_yticklabels([])
ax[5].set_xlabel("Distance (m)")

laptimes = [
Expand Down

0 comments on commit 91b6534

Please sign in to comment.