
Loading the Session
Getting Brake Data
Brake is a boolean column: True while the driver brakes, False otherwise.
Creating the Brake Zone Map
Parameters
The native chart always draws the fastest lap of the session, so it has no driver or lap filters. Change the color scale withcmap, or write the figure straight to a file with save_path:
cmap='RdYlGn_r' with on/off colorbar ticks matches the chart above.
Complete Example
The whole workflow above is wrapped in a single native function:Analyzing Brake Zones
- Red sections: Active braking zones before corners
- Green sections: No braking (straights and corners)
- Length of red zones: Shows the distance the driver brakes.
Brakeis on or off only, so the map does not show brake pressure.
Comparing Drivers
The track map charts always use the session’s fastest lap. For multi-driver comparisons, the telemetry charts accept adrivers list. For example, speed traces plots each driver’s fastest-lap speed against distance:
Next Steps
- Combine with speed maps to see braking effectiveness
- Analyze throttle application after braking
- Study longitudinal acceleration during braking