src/f1lib/plot_drivers.py
def plot_relative_pace(laptimes: ff1.core.Laps, session : str="fp3") -> None:
    """
    Provided with Laps object, plot the relative pace.
    """
    fig = ((laptimes[[session]] - laptimes[[session]].min())
        .sort_values(session, ascending=False)
        .plot(kind='barh', figsize=(7,10)))
    plt.grid()
    plt.show()

    Provided with Laps object, plot the relative pace.
    
Provided with Laps object, plot the relative pace.
Provided with Laps object plot the relative pace .
def plot_relative_pace(laptimes: ff1.core.Laps, session : str="fp3") -> None:
    fig = ((laptimes[[session]] - laptimes[[session]].min())
        .sort_values(session, ascending=False)
        .plot(kind='barh', figsize=(7,10)))
    plt.grid()
    plt.show()
def plot_relative_pace ( laptimes : ff1 . core . Laps , session : str = "fp3" ) -> None : fig = ( ( laptimes [ [ session ] ] - laptimes [ [ session ] ] . min ( ) ) . sort_values ( session , ascending = False ) . plot ( kind = 'barh' , figsize = ( 7 , 10 ) ) ) plt . grid ( ) plt . show ( )
Provided with Laps object, plot the relative pace.
Provided with Laps object plot the relative pace .
"""
    Provided with Laps object, plot the relative pace.
    """
laptimes
ff1.core.Laps
session
str