Skip to content

Commit

Permalink
FIX: incorrect format of hex color code for tyre colors (#368)
Browse files Browse the repository at this point in the history
  • Loading branch information
Casper-Guo authored May 12, 2023
1 parent e9601c9 commit fd0f9fb
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions fastf1/plotting.py
Original file line number Diff line number Diff line change
Expand Up @@ -144,12 +144,12 @@ def warn_change(self):
"""Mapping of driver names to theirs respective abbreviations."""

COMPOUND_COLORS: Dict[str, str] = {
"SOFT": "da291c",
"MEDIUM": "ffd12e",
"HARD": "f0f0ec",
"INTERMEDIATE": "43b02a",
"WET": "0067ad",
"UNKNOWN": "00ffff",
"SOFT": "#da291c",
"MEDIUM": "#ffd12e",
"HARD": "#f0f0ec",
"INTERMEDIATE": "#43b02a",
"WET": "#0067ad",
"UNKNOWN": "#00ffff",
}
"""Mapping of tyre compound names to compound colors (hex color codes).
(current season only)"""
Expand Down

0 comments on commit fd0f9fb

Please sign in to comment.