Plotly wont plot laptimes

Hi there,
I wish to plot a few racing laptimes in plotly. I brought the data in from excel in hh:mm:ss.000 format
Plotly is struggling to plot it.
The error is,ValueError: The truth value of a RangeIndex is ambiguous. Use a.empty, a.bool(), a.item(), a.any() or a.all().
My code attached


Any ideas?