Skip to main content
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 a Session object in Jupyter, you get a formatted HTML table:
Output:

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 otherwise
function
Generate HTML display for a Session object.Parameters:
  • session: Session object
Returns: str - HTML string
function
Generate HTML display for a Driver object.Parameters:
  • driver: Driver object
Returns: str - HTML string
function
Generate HTML display for a Lap object.Parameters:
  • lap: Lap object
Returns: str - HTML string
function
Generate summary display for a DataFrame.Parameters:
  • df: pandas or polars DataFrame
Returns: str - HTML string with summary
Last modified on March 5, 2026