Brake zone visualization highlights where drivers apply the brakes around the circuit. Use the visualization to understand corner entry, compare braking points, and analyze overtaking opportunities.
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_brake_zones( 2023, 'Monza', 'Q', cmap='coolwarm', save_path='track_brake_zones.png', dpi=300,)plt.show()
The default cmap='RdYlGn_r' with on/off colorbar ticks 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 highlights the braking zonesfig, ax = tif1.plot_track_brake_zones(2023, 'Monza', 'Q')plt.show()# Or save straight to a file# tif1.plot_track_brake_zones(2023, 'Monza', 'Q', save_path='track_brake_zones.png')
The track map charts always use the session’s fastest lap. For multi-driver comparisons, the telemetry charts accept a drivers list. For example, speed traces plots each driver’s fastest-lap speed against distance:
import tif1# Compare the fastest laps of several driversfig, ax = tif1.plot_speed_traces(2023, 'Spanish Grand Prix', 'Q', drivers=['VER', 'HAM'])plt.show()