Team colour in .results["TeamColor"] vs. .team_color() different? #527
Replies: 3 comments 4 replies
-
Can you post the source code you used please? |
Beta Was this translation helpful? Give feedback.
-
Yea the color palette is changed in version 3.3.0 for the 2024 season. Not sure why the maintainer chooses the current set of colors. The process is very much ad-hoc |
Beta Was this translation helpful? Give feedback.
-
The team color in the results is what the API returns. FastF1s plotting colors are independent from that. |
Beta Was this translation helpful? Give feedback.
-
I've done a fastest lap comparison for Day 2 of testing and Perez is yellow? This is using the team colour gathering example from the documentation. The rest of the teams look very accurate, but Red Bull (or at least PER) doesn't seem accurate.
Meanwhile the hex code in .results["TeamColor"] is blue. I'm not exactly sure why.
Update: I've had a look at all other teams and it seems to be a feature not a bug. This table compares session.result["TeamColor"] and fastf1.plotting.teamcolor() and they are consistently different.
Beta Was this translation helpful? Give feedback.
All reactions