Skip to content

Commit

Permalink
DOC: Fix Broken Team Pace Ranking Example (#577)
Browse files Browse the repository at this point in the history
  • Loading branch information
Casper-Guo authored Apr 28, 2024
1 parent d964aa0 commit 37ff42e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -158,8 +158,7 @@ def sphinx_gallery_setup(gallery_conf, fname):
plotly_sg_scraper), # for plotly thumbnail
'reset_modules': ('matplotlib', 'seaborn', # defaults
sphinx_gallery_setup), # custom setup
'expected_failing_examples': ('../examples/plot_qualifying_results.py',
'../examples/plot_team_pace_ranking.py'),
'expected_failing_examples': ('../examples/plot_qualifying_results.py', ),
}


Expand Down
2 changes: 1 addition & 1 deletion examples/plot_team_pace_ranking.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
# Load the race session.
# Pick all quick laps (within 107% of fastest lap).
# For races with mixed conditions, pick_wo_box() is better.
race = fastf1.get_session(2023, "British Grand Prix", 'R')
race = fastf1.get_session(2024, 1, 'R')
race.load()
laps = race.laps.pick_quicklaps()

Expand Down

0 comments on commit 37ff42e

Please sign in to comment.