Skip to content

Commit

Permalink
refactor driver team mapping
Browse files Browse the repository at this point in the history
  • Loading branch information
theOehrly committed Mar 29, 2024
1 parent 292cab3 commit 36d7b03
Show file tree
Hide file tree
Showing 2 changed files with 211 additions and 170 deletions.
9 changes: 6 additions & 3 deletions fastf1/plotting/_constants/base.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
from enum import Enum
from enum import (
Enum,
EnumType
)
from typing import Dict


Expand All @@ -21,5 +24,5 @@ class Compounds(Enum):
class BaseSeason:
Colormaps: Dict[Colormaps, dict]
CompoundColors: Dict[Compounds, str]
ShortTeamNames: Dict[str, str]
Teams: Enum
ShortTeamNames: Dict[EnumType, str]
Teams: EnumType
Loading

0 comments on commit 36d7b03

Please sign in to comment.