Throttle maps show where and how much throttle drivers apply around the circuit. The visualization shows driving style, traction zones, and the areas of maximum throttle.
Throttle values range from 0 (no throttle) to 100 (full throttle).
# Get telemetrytelemetry = fastest_lap.get_car_data()# Extract position and throttlex = telemetry['X']y = telemetry['Y']throttle = telemetry['Throttle']
The native chart accepts the shared filters plus a few chart-specific options. Change the color scale with cmap, or write the figure straight to a file with save_path:
import tif1# Custom colormap, saved directly to a filefig, ax = tif1.plot_track_throttle_map( 2023, 'Silverstone', 'Q', cmap='viridis', save_path='track_throttle_map.png', dpi=300,)plt.show()
The default cmap='RdYlGn' with a fixed 0-100% scale matches the chart above.
The whole workflow above is wrapped in a single native function:
import tif1import matplotlib.pyplot as plt# One call: loads the session and draws the throttle-colored track mapfig, ax = tif1.plot_track_throttle_map(2023, 'Silverstone', 'Q')plt.show()# Or save straight to a file# tif1.plot_track_throttle_map(2023, 'Silverstone', 'Q', save_path='track_throttle_map.png')