tif1 provides enhanced Jupyter notebook integration with rich HTML displays for Session, Driver, and Lap objects.
Auto-Enabling
Jupyter display is automatically enabled when running in a Jupyter environment. No manual setup required.Rich Displays
Session Display
When you display aSession object in Jupyter, you get a formatted HTML table:
Driver Display
Lap Display
Manual Control
Enable jupyter display
2. Display Progress
3. Interactive Exploration
4. Combine with Plotting
5. Use Widgets for Interactivity
Troubleshooting
Display Not Working
If rich displays aren’t showing:Complete notebook example
API Reference
Functions
function
Enable rich Jupyter display for tif1 objects. Called automatically when in a notebook.
function
Check if running in a Jupyter notebook environment.Returns:
bool - True if in Jupyter, False otherwisefunction
Generate HTML display for a Session object.Parameters:
session: Session object
str - HTML stringfunction
Generate HTML display for a Driver object.Parameters:
driver: Driver object
str - HTML stringfunction
Generate HTML display for a Lap object.Parameters:
lap: Lap object
str - HTML stringfunction
Generate summary display for a DataFrame.Parameters:
df: pandas or polars DataFrame
str - HTML string with summary