diff --git a/_sources/changelog/v3.1.x.rst.txt b/_sources/changelog/v3.1.x.rst.txt
index 02382d405..6c4bc5c67 100644
--- a/_sources/changelog/v3.1.x.rst.txt
+++ b/_sources/changelog/v3.1.x.rst.txt
@@ -1,3 +1,16 @@
+What's new in v3.1.3
+--------------------
+
+(released 07/10/2023)
+
+Bug Fixes
+^^^^^^^^^
+
+- fixed a bug in the driver list parser that caused Piastri to be missing from
+ the results in the 2023 Qatar Sprint Shootout (#460)
+
+
+
What's new in v3.1.2
--------------------
diff --git a/_sources/examples_gallery/plot_annotate_corners.rst.txt b/_sources/examples_gallery/plot_annotate_corners.rst.txt
index 28d2c4fc1..0426220d5 100644
--- a/_sources/examples_gallery/plot_annotate_corners.rst.txt
+++ b/_sources/examples_gallery/plot_annotate_corners.rst.txt
@@ -117,7 +117,7 @@ the track map is oriented correctly. After that, plot the rotated track map.
.. code-block:: none
- []
+ []
@@ -206,7 +206,7 @@ so that the track is not distorted and show the plot.
.. rst-class:: sphx-glr-timing
- **Total running time of the script:** (0 minutes 4.074 seconds)
+ **Total running time of the script:** (0 minutes 14.133 seconds)
.. _sphx_glr_download_examples_gallery_plot_annotate_corners.py:
diff --git a/_sources/examples_gallery/plot_annotate_speed_trace.rst.txt b/_sources/examples_gallery/plot_annotate_speed_trace.rst.txt
index cbb7f27a0..ed14028ff 100644
--- a/_sources/examples_gallery/plot_annotate_speed_trace.rst.txt
+++ b/_sources/examples_gallery/plot_annotate_speed_trace.rst.txt
@@ -142,7 +142,7 @@ markers.
.. rst-class:: sphx-glr-timing
- **Total running time of the script:** (0 minutes 2.663 seconds)
+ **Total running time of the script:** (0 minutes 2.590 seconds)
.. _sphx_glr_download_examples_gallery_plot_annotate_speed_trace.py:
diff --git a/_sources/examples_gallery/plot_driver_laptimes.rst.txt b/_sources/examples_gallery/plot_driver_laptimes.rst.txt
index bff49a5f2..d1872bfee 100644
--- a/_sources/examples_gallery/plot_driver_laptimes.rst.txt
+++ b/_sources/examples_gallery/plot_driver_laptimes.rst.txt
@@ -154,7 +154,7 @@ Make the plot more aesthetic.
.. rst-class:: sphx-glr-timing
- **Total running time of the script:** (0 minutes 5.308 seconds)
+ **Total running time of the script:** (0 minutes 22.746 seconds)
.. _sphx_glr_download_examples_gallery_plot_driver_laptimes.py:
diff --git a/_sources/examples_gallery/plot_gear_shifts_on_track.rst.txt b/_sources/examples_gallery/plot_gear_shifts_on_track.rst.txt
index 93a79c55a..c0f3b5ec3 100644
--- a/_sources/examples_gallery/plot_gear_shifts_on_track.rst.txt
+++ b/_sources/examples_gallery/plot_gear_shifts_on_track.rst.txt
@@ -164,7 +164,7 @@ are centered for each color segment.
.. rst-class:: sphx-glr-timing
- **Total running time of the script:** (0 minutes 3.743 seconds)
+ **Total running time of the script:** (0 minutes 12.808 seconds)
.. _sphx_glr_download_examples_gallery_plot_gear_shifts_on_track.py:
diff --git a/_sources/examples_gallery/plot_laptimes_distribution.rst.txt b/_sources/examples_gallery/plot_laptimes_distribution.rst.txt
index bb9f6a2d9..af7bfc841 100644
--- a/_sources/examples_gallery/plot_laptimes_distribution.rst.txt
+++ b/_sources/examples_gallery/plot_laptimes_distribution.rst.txt
@@ -221,7 +221,7 @@ Make the plot more aesthetic
.. rst-class:: sphx-glr-timing
- **Total running time of the script:** (0 minutes 4.308 seconds)
+ **Total running time of the script:** (0 minutes 3.613 seconds)
.. _sphx_glr_download_examples_gallery_plot_laptimes_distribution.py:
diff --git a/_sources/examples_gallery/plot_position_changes.rst.txt b/_sources/examples_gallery/plot_position_changes.rst.txt
index 45550d962..514cb392d 100644
--- a/_sources/examples_gallery/plot_position_changes.rst.txt
+++ b/_sources/examples_gallery/plot_position_changes.rst.txt
@@ -58,6 +58,66 @@ Load the session and create the plot
+.. rst-class:: sphx-glr-script-out
+
+ .. code-block:: none
+
+ Request for URL https://ergast.com/api/f1/2023/1/laps/1.json failed; using cached response
+ Traceback (most recent call last):
+ File "/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/urllib3/connectionpool.py", line 790, in urlopen
+ response = self._make_request(
+ File "/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/urllib3/connectionpool.py", line 536, in _make_request
+ response = conn.getresponse()
+ File "/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/urllib3/connection.py", line 461, in getresponse
+ httplib_response = super().getresponse()
+ File "/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/http/client.py", line 1377, in getresponse
+ response.begin()
+ File "/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/http/client.py", line 320, in begin
+ version, status, reason = self._read_status()
+ File "/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/http/client.py", line 289, in _read_status
+ raise RemoteDisconnected("Remote end closed connection without"
+ http.client.RemoteDisconnected: Remote end closed connection without response
+
+ During handling of the above exception, another exception occurred:
+
+ Traceback (most recent call last):
+ File "/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/requests/adapters.py", line 486, in send
+ resp = conn.urlopen(
+ File "/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/urllib3/connectionpool.py", line 844, in urlopen
+ retries = retries.increment(
+ File "/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/urllib3/util/retry.py", line 470, in increment
+ raise reraise(type(error), error, _stacktrace)
+ File "/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/urllib3/util/util.py", line 38, in reraise
+ raise value.with_traceback(tb)
+ File "/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/urllib3/connectionpool.py", line 790, in urlopen
+ response = self._make_request(
+ File "/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/urllib3/connectionpool.py", line 536, in _make_request
+ response = conn.getresponse()
+ File "/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/urllib3/connection.py", line 461, in getresponse
+ httplib_response = super().getresponse()
+ File "/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/http/client.py", line 1377, in getresponse
+ response.begin()
+ File "/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/http/client.py", line 320, in begin
+ version, status, reason = self._read_status()
+ File "/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/http/client.py", line 289, in _read_status
+ raise RemoteDisconnected("Remote end closed connection without"
+ urllib3.exceptions.ProtocolError: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))
+
+ During handling of the above exception, another exception occurred:
+
+ Traceback (most recent call last):
+ File "/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/requests_cache/session.py", line 255, in _resend
+ response = self._send_and_cache(request, actions, cached_response, **kwargs)
+ File "/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/requests_cache/session.py", line 229, in _send_and_cache
+ response = super().send(request, **kwargs)
+ File "/home/runner/work/Fast-F1/Fast-F1/fastf1/req.py", line 124, in send
+ return super().send(request, **kwargs)
+ File "/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/requests/sessions.py", line 703, in send
+ r = adapter.send(request, **kwargs)
+ File "/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/requests/adapters.py", line 501, in send
+ raise ConnectionError(err, request=request)
+ requests.exceptions.ConnectionError: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))
+
@@ -141,7 +201,7 @@ Because this plot is very crowed, add the legend outside the plot area.
.. rst-class:: sphx-glr-timing
- **Total running time of the script:** (0 minutes 2.092 seconds)
+ **Total running time of the script:** (0 minutes 7.884 seconds)
.. _sphx_glr_download_examples_gallery_plot_position_changes.py:
diff --git a/_sources/examples_gallery/plot_qualifying_results.rst.txt b/_sources/examples_gallery/plot_qualifying_results.rst.txt
index 7364f570e..f6eb5aa69 100644
--- a/_sources/examples_gallery/plot_qualifying_results.rst.txt
+++ b/_sources/examples_gallery/plot_qualifying_results.rst.txt
@@ -252,7 +252,7 @@ Finally, give the plot a meaningful title
.. rst-class:: sphx-glr-timing
- **Total running time of the script:** (0 minutes 2.532 seconds)
+ **Total running time of the script:** (0 minutes 2.075 seconds)
.. _sphx_glr_download_examples_gallery_plot_qualifying_results.py:
diff --git a/_sources/examples_gallery/plot_results_tracker.rst.txt b/_sources/examples_gallery/plot_results_tracker.rst.txt
index bbadf5c29..8aea82c89 100644
--- a/_sources/examples_gallery/plot_results_tracker.rst.txt
+++ b/_sources/examples_gallery/plot_results_tracker.rst.txt
@@ -162,7 +162,7 @@ The final step is to plot a heatmap using plotly
.. rst-class:: sphx-glr-timing
- **Total running time of the script:** (0 minutes 15.652 seconds)
+ **Total running time of the script:** (0 minutes 14.906 seconds)
.. _sphx_glr_download_examples_gallery_plot_results_tracker.py:
diff --git a/_sources/examples_gallery/plot_speed_on_track.rst.txt b/_sources/examples_gallery/plot_speed_on_track.rst.txt
index 3321aabdc..00a8af2ca 100644
--- a/_sources/examples_gallery/plot_speed_on_track.rst.txt
+++ b/_sources/examples_gallery/plot_speed_on_track.rst.txt
@@ -168,7 +168,7 @@ After this, we can actually plot the data.
.. rst-class:: sphx-glr-timing
- **Total running time of the script:** (0 minutes 5.689 seconds)
+ **Total running time of the script:** (0 minutes 24.732 seconds)
.. _sphx_glr_download_examples_gallery_plot_speed_on_track.py:
diff --git a/_sources/examples_gallery/plot_speed_traces.rst.txt b/_sources/examples_gallery/plot_speed_traces.rst.txt
index cb4320b51..945c4c375 100644
--- a/_sources/examples_gallery/plot_speed_traces.rst.txt
+++ b/_sources/examples_gallery/plot_speed_traces.rst.txt
@@ -127,7 +127,7 @@ We color the individual lines with the driver's team colors.
.. rst-class:: sphx-glr-timing
- **Total running time of the script:** (0 minutes 3.627 seconds)
+ **Total running time of the script:** (0 minutes 15.733 seconds)
.. _sphx_glr_download_examples_gallery_plot_speed_traces.py:
diff --git a/_sources/examples_gallery/plot_strategy.rst.txt b/_sources/examples_gallery/plot_strategy.rst.txt
index ad88911e7..84990d686 100644
--- a/_sources/examples_gallery/plot_strategy.rst.txt
+++ b/_sources/examples_gallery/plot_strategy.rst.txt
@@ -56,6 +56,66 @@ Load the race session
+.. rst-class:: sphx-glr-script-out
+
+ .. code-block:: none
+
+ Request for URL https://ergast.com/api/f1/2022/13/laps/1.json failed; using cached response
+ Traceback (most recent call last):
+ File "/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/urllib3/connectionpool.py", line 790, in urlopen
+ response = self._make_request(
+ File "/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/urllib3/connectionpool.py", line 536, in _make_request
+ response = conn.getresponse()
+ File "/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/urllib3/connection.py", line 461, in getresponse
+ httplib_response = super().getresponse()
+ File "/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/http/client.py", line 1377, in getresponse
+ response.begin()
+ File "/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/http/client.py", line 320, in begin
+ version, status, reason = self._read_status()
+ File "/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/http/client.py", line 289, in _read_status
+ raise RemoteDisconnected("Remote end closed connection without"
+ http.client.RemoteDisconnected: Remote end closed connection without response
+
+ During handling of the above exception, another exception occurred:
+
+ Traceback (most recent call last):
+ File "/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/requests/adapters.py", line 486, in send
+ resp = conn.urlopen(
+ File "/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/urllib3/connectionpool.py", line 844, in urlopen
+ retries = retries.increment(
+ File "/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/urllib3/util/retry.py", line 470, in increment
+ raise reraise(type(error), error, _stacktrace)
+ File "/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/urllib3/util/util.py", line 38, in reraise
+ raise value.with_traceback(tb)
+ File "/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/urllib3/connectionpool.py", line 790, in urlopen
+ response = self._make_request(
+ File "/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/urllib3/connectionpool.py", line 536, in _make_request
+ response = conn.getresponse()
+ File "/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/urllib3/connection.py", line 461, in getresponse
+ httplib_response = super().getresponse()
+ File "/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/http/client.py", line 1377, in getresponse
+ response.begin()
+ File "/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/http/client.py", line 320, in begin
+ version, status, reason = self._read_status()
+ File "/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/http/client.py", line 289, in _read_status
+ raise RemoteDisconnected("Remote end closed connection without"
+ urllib3.exceptions.ProtocolError: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))
+
+ During handling of the above exception, another exception occurred:
+
+ Traceback (most recent call last):
+ File "/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/requests_cache/session.py", line 255, in _resend
+ response = self._send_and_cache(request, actions, cached_response, **kwargs)
+ File "/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/requests_cache/session.py", line 229, in _send_and_cache
+ response = super().send(request, **kwargs)
+ File "/home/runner/work/Fast-F1/Fast-F1/fastf1/req.py", line 124, in send
+ return super().send(request, **kwargs)
+ File "/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/requests/sessions.py", line 703, in send
+ r = adapter.send(request, **kwargs)
+ File "/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/requests/adapters.py", line 501, in send
+ raise ConnectionError(err, request=request)
+ requests.exceptions.ConnectionError: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))
+
@@ -255,7 +315,7 @@ Plot aesthetics
.. rst-class:: sphx-glr-timing
- **Total running time of the script:** (0 minutes 5.825 seconds)
+ **Total running time of the script:** (0 minutes 21.457 seconds)
.. _sphx_glr_download_examples_gallery_plot_strategy.py:
diff --git a/_sources/examples_gallery/plot_team_pace_ranking.rst.txt b/_sources/examples_gallery/plot_team_pace_ranking.rst.txt
index 82acacdd9..3dc7c9cd2 100644
--- a/_sources/examples_gallery/plot_team_pace_ranking.rst.txt
+++ b/_sources/examples_gallery/plot_team_pace_ranking.rst.txt
@@ -143,7 +143,7 @@ with plotting.setup_mpl.
.. rst-class:: sphx-glr-timing
- **Total running time of the script:** (0 minutes 4.665 seconds)
+ **Total running time of the script:** (0 minutes 21.954 seconds)
.. _sphx_glr_download_examples_gallery_plot_team_pace_ranking.py:
diff --git a/_sources/examples_gallery/plot_who_can_still_win_wdc.rst.txt b/_sources/examples_gallery/plot_who_can_still_win_wdc.rst.txt
index ef51b457e..ce882cce1 100644
--- a/_sources/examples_gallery/plot_who_can_still_win_wdc.rst.txt
+++ b/_sources/examples_gallery/plot_who_can_still_win_wdc.rst.txt
@@ -80,7 +80,7 @@ https://en.wikipedia.org/wiki/List_of_Formula_One_World_Championship_points_scor
events = fastf1.events.get_events_remaining(backend="ergast")
# Count how many sprints and conventional races are left
- sprint_events = len(events.loc[events["EventFormat"] == "sprint"])
+ sprint_events = len(events.loc[events["EventFormat"] == "sprint_shootout"])
conventional_events = len(events.loc[events["EventFormat"] == "conventional"])
# Calculate points for each
@@ -157,28 +157,28 @@ can still win.
.. code-block:: none
- 1: Max Verstappen, Current points: 339.0, Theoretical max points: 495, Can win: Yes
- 2: Sergio Pérez, Current points: 201.0, Theoretical max points: 357, Can win: Yes
- 3: Fernando Alonso, Current points: 168.0, Theoretical max points: 324, Can win: No
- 4: Lewis Hamilton, Current points: 156.0, Theoretical max points: 312, Can win: No
- 5: Carlos Sainz, Current points: 102.0, Theoretical max points: 258, Can win: No
- 6: Charles Leclerc, Current points: 99.0, Theoretical max points: 255, Can win: No
- 7: George Russell, Current points: 99.0, Theoretical max points: 255, Can win: No
- 8: Lando Norris, Current points: 75.0, Theoretical max points: 231, Can win: No
- 9: Lance Stroll, Current points: 47.0, Theoretical max points: 203, Can win: No
- 10: Pierre Gasly, Current points: 37.0, Theoretical max points: 193, Can win: No
- 11: Esteban Ocon, Current points: 36.0, Theoretical max points: 192, Can win: No
- 12: Oscar Piastri, Current points: 36.0, Theoretical max points: 192, Can win: No
- 13: Alexander Albon, Current points: 15.0, Theoretical max points: 171, Can win: No
- 14: Nico Hülkenberg, Current points: 9.0, Theoretical max points: 165, Can win: No
- 15: Valtteri Bottas, Current points: 5.0, Theoretical max points: 161, Can win: No
- 16: Guanyu Zhou, Current points: 4.0, Theoretical max points: 160, Can win: No
- 17: Yuki Tsunoda, Current points: 3.0, Theoretical max points: 159, Can win: No
- 18: Kevin Magnussen, Current points: 2.0, Theoretical max points: 158, Can win: No
- 19: Logan Sargeant, Current points: 0.0, Theoretical max points: 156, Can win: No
- 20: Nyck de Vries, Current points: 0.0, Theoretical max points: 156, Can win: No
- 21: Daniel Ricciardo, Current points: 0.0, Theoretical max points: 156, Can win: No
- 22: Liam Lawson, Current points: 0.0, Theoretical max points: 156, Can win: No
+ 1: Max Verstappen, Current points: 400.0, Theoretical max points: 580, Can win: Yes
+ 2: Sergio Pérez, Current points: 223.0, Theoretical max points: 403, Can win: Yes
+ 3: Lewis Hamilton, Current points: 190.0, Theoretical max points: 370, Can win: No
+ 4: Fernando Alonso, Current points: 174.0, Theoretical max points: 354, Can win: No
+ 5: Carlos Sainz, Current points: 150.0, Theoretical max points: 330, Can win: No
+ 6: Charles Leclerc, Current points: 135.0, Theoretical max points: 315, Can win: No
+ 7: Lando Norris, Current points: 115.0, Theoretical max points: 295, Can win: No
+ 8: George Russell, Current points: 115.0, Theoretical max points: 295, Can win: No
+ 9: Oscar Piastri, Current points: 57.0, Theoretical max points: 237, Can win: No
+ 10: Lance Stroll, Current points: 47.0, Theoretical max points: 227, Can win: No
+ 11: Pierre Gasly, Current points: 46.0, Theoretical max points: 226, Can win: No
+ 12: Esteban Ocon, Current points: 38.0, Theoretical max points: 218, Can win: No
+ 13: Alexander Albon, Current points: 21.0, Theoretical max points: 201, Can win: No
+ 14: Nico Hülkenberg, Current points: 9.0, Theoretical max points: 189, Can win: No
+ 15: Valtteri Bottas, Current points: 6.0, Theoretical max points: 186, Can win: No
+ 16: Guanyu Zhou, Current points: 4.0, Theoretical max points: 184, Can win: No
+ 17: Yuki Tsunoda, Current points: 3.0, Theoretical max points: 183, Can win: No
+ 18: Kevin Magnussen, Current points: 3.0, Theoretical max points: 183, Can win: No
+ 19: Liam Lawson, Current points: 2.0, Theoretical max points: 182, Can win: No
+ 20: Logan Sargeant, Current points: 0.0, Theoretical max points: 180, Can win: No
+ 21: Nyck de Vries, Current points: 0.0, Theoretical max points: 180, Can win: No
+ 22: Daniel Ricciardo, Current points: 0.0, Theoretical max points: 180, Can win: No
@@ -186,7 +186,7 @@ can still win.
.. rst-class:: sphx-glr-timing
- **Total running time of the script:** (0 minutes 0.787 seconds)
+ **Total running time of the script:** (0 minutes 0.725 seconds)
.. _sphx_glr_download_examples_gallery_plot_who_can_still_win_wdc.py:
diff --git a/_sources/examples_gallery/sg_execution_times.rst.txt b/_sources/examples_gallery/sg_execution_times.rst.txt
index 79e143a3b..5c6fcd317 100644
--- a/_sources/examples_gallery/sg_execution_times.rst.txt
+++ b/_sources/examples_gallery/sg_execution_times.rst.txt
@@ -6,34 +6,34 @@
Computation times
=================
-**01:00.964** total execution time for **examples_gallery** files:
+**02:45.356** total execution time for **examples_gallery** files:
+--------------------------------------------------------------------------------------------------------+-----------+--------+
-| :ref:`sphx_glr_examples_gallery_plot_results_tracker.py` (``plot_results_tracker.py``) | 00:15.652 | 0.0 MB |
+| :ref:`sphx_glr_examples_gallery_plot_speed_on_track.py` (``plot_speed_on_track.py``) | 00:24.732 | 0.0 MB |
+--------------------------------------------------------------------------------------------------------+-----------+--------+
-| :ref:`sphx_glr_examples_gallery_plot_strategy.py` (``plot_strategy.py``) | 00:05.825 | 0.0 MB |
+| :ref:`sphx_glr_examples_gallery_plot_driver_laptimes.py` (``plot_driver_laptimes.py``) | 00:22.746 | 0.0 MB |
+--------------------------------------------------------------------------------------------------------+-----------+--------+
-| :ref:`sphx_glr_examples_gallery_plot_speed_on_track.py` (``plot_speed_on_track.py``) | 00:05.689 | 0.0 MB |
+| :ref:`sphx_glr_examples_gallery_plot_team_pace_ranking.py` (``plot_team_pace_ranking.py``) | 00:21.954 | 0.0 MB |
+--------------------------------------------------------------------------------------------------------+-----------+--------+
-| :ref:`sphx_glr_examples_gallery_plot_driver_laptimes.py` (``plot_driver_laptimes.py``) | 00:05.308 | 0.0 MB |
+| :ref:`sphx_glr_examples_gallery_plot_strategy.py` (``plot_strategy.py``) | 00:21.457 | 0.0 MB |
+--------------------------------------------------------------------------------------------------------+-----------+--------+
-| :ref:`sphx_glr_examples_gallery_plot_team_pace_ranking.py` (``plot_team_pace_ranking.py``) | 00:04.665 | 0.0 MB |
+| :ref:`sphx_glr_examples_gallery_plot_speed_traces.py` (``plot_speed_traces.py``) | 00:15.733 | 0.0 MB |
+--------------------------------------------------------------------------------------------------------+-----------+--------+
-| :ref:`sphx_glr_examples_gallery_plot_laptimes_distribution.py` (``plot_laptimes_distribution.py``) | 00:04.308 | 0.0 MB |
+| :ref:`sphx_glr_examples_gallery_plot_results_tracker.py` (``plot_results_tracker.py``) | 00:14.906 | 0.0 MB |
+--------------------------------------------------------------------------------------------------------+-----------+--------+
-| :ref:`sphx_glr_examples_gallery_plot_annotate_corners.py` (``plot_annotate_corners.py``) | 00:04.074 | 0.0 MB |
+| :ref:`sphx_glr_examples_gallery_plot_annotate_corners.py` (``plot_annotate_corners.py``) | 00:14.133 | 0.0 MB |
+--------------------------------------------------------------------------------------------------------+-----------+--------+
-| :ref:`sphx_glr_examples_gallery_plot_gear_shifts_on_track.py` (``plot_gear_shifts_on_track.py``) | 00:03.743 | 0.0 MB |
+| :ref:`sphx_glr_examples_gallery_plot_gear_shifts_on_track.py` (``plot_gear_shifts_on_track.py``) | 00:12.808 | 0.0 MB |
+--------------------------------------------------------------------------------------------------------+-----------+--------+
-| :ref:`sphx_glr_examples_gallery_plot_speed_traces.py` (``plot_speed_traces.py``) | 00:03.627 | 0.0 MB |
+| :ref:`sphx_glr_examples_gallery_plot_position_changes.py` (``plot_position_changes.py``) | 00:07.884 | 0.0 MB |
+--------------------------------------------------------------------------------------------------------+-----------+--------+
-| :ref:`sphx_glr_examples_gallery_plot_annotate_speed_trace.py` (``plot_annotate_speed_trace.py``) | 00:02.663 | 0.0 MB |
+| :ref:`sphx_glr_examples_gallery_plot_laptimes_distribution.py` (``plot_laptimes_distribution.py``) | 00:03.613 | 0.0 MB |
+--------------------------------------------------------------------------------------------------------+-----------+--------+
-| :ref:`sphx_glr_examples_gallery_plot_qualifying_results.py` (``plot_qualifying_results.py``) | 00:02.532 | 0.0 MB |
+| :ref:`sphx_glr_examples_gallery_plot_annotate_speed_trace.py` (``plot_annotate_speed_trace.py``) | 00:02.590 | 0.0 MB |
+--------------------------------------------------------------------------------------------------------+-----------+--------+
-| :ref:`sphx_glr_examples_gallery_plot_position_changes.py` (``plot_position_changes.py``) | 00:02.092 | 0.0 MB |
+| :ref:`sphx_glr_examples_gallery_plot_qualifying_results.py` (``plot_qualifying_results.py``) | 00:02.075 | 0.0 MB |
+--------------------------------------------------------------------------------------------------------+-----------+--------+
-| :ref:`sphx_glr_examples_gallery_plot_who_can_still_win_wdc.py` (``plot_who_can_still_win_wdc.py``) | 00:00.787 | 0.0 MB |
+| :ref:`sphx_glr_examples_gallery_plot_who_can_still_win_wdc.py` (``plot_who_can_still_win_wdc.py``) | 00:00.725 | 0.0 MB |
+--------------------------------------------------------------------------------------------------------+-----------+--------+
| :ref:`sphx_glr_examples_gallery_example_fastf1_signalrclient.py` (``example_fastf1_signalrclient.py``) | 00:00.000 | 0.0 MB |
+--------------------------------------------------------------------------------------------------------+-----------+--------+
diff --git a/_static/documentation_options.js b/_static/documentation_options.js
index 553f0aede..1c5a779c5 100644
--- a/_static/documentation_options.js
+++ b/_static/documentation_options.js
@@ -1,5 +1,5 @@
const DOCUMENTATION_OPTIONS = {
- VERSION: '3.1.2',
+ VERSION: '3.1.3',
LANGUAGE: 'en',
COLLAPSE_INDEX: false,
BUILDER: 'html',
diff --git a/api.html b/api.html
index d7a1cdbd3..5060f24fc 100644
--- a/api.html
+++ b/api.html
@@ -5,8 +5,8 @@
-
- F1 API - fastf1.api - FastF1 3.1.2
+
+ F1 API - fastf1.api - FastF1 3.1.3
@@ -129,7 +129,7 @@
Request for URL https://ergast.com/api/f1/2023/1/laps/1.json failed; using cached response
+Traceback (most recent call last):
+ File "/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/urllib3/connectionpool.py", line 790, in urlopen
+ response = self._make_request(
+ File "/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/urllib3/connectionpool.py", line 536, in _make_request
+ response = conn.getresponse()
+ File "/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/urllib3/connection.py", line 461, in getresponse
+ httplib_response = super().getresponse()
+ File "/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/http/client.py", line 1377, in getresponse
+ response.begin()
+ File "/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/http/client.py", line 320, in begin
+ version, status, reason = self._read_status()
+ File "/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/http/client.py", line 289, in _read_status
+ raise RemoteDisconnected("Remote end closed connection without"
+http.client.RemoteDisconnected: Remote end closed connection without response
+
+During handling of the above exception, another exception occurred:
+
+Traceback (most recent call last):
+ File "/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/requests/adapters.py", line 486, in send
+ resp = conn.urlopen(
+ File "/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/urllib3/connectionpool.py", line 844, in urlopen
+ retries = retries.increment(
+ File "/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/urllib3/util/retry.py", line 470, in increment
+ raise reraise(type(error), error, _stacktrace)
+ File "/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/urllib3/util/util.py", line 38, in reraise
+ raise value.with_traceback(tb)
+ File "/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/urllib3/connectionpool.py", line 790, in urlopen
+ response = self._make_request(
+ File "/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/urllib3/connectionpool.py", line 536, in _make_request
+ response = conn.getresponse()
+ File "/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/urllib3/connection.py", line 461, in getresponse
+ httplib_response = super().getresponse()
+ File "/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/http/client.py", line 1377, in getresponse
+ response.begin()
+ File "/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/http/client.py", line 320, in begin
+ version, status, reason = self._read_status()
+ File "/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/http/client.py", line 289, in _read_status
+ raise RemoteDisconnected("Remote end closed connection without"
+urllib3.exceptions.ProtocolError: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))
+
+During handling of the above exception, another exception occurred:
+
+Traceback (most recent call last):
+ File "/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/requests_cache/session.py", line 255, in _resend
+ response = self._send_and_cache(request, actions, cached_response, **kwargs)
+ File "/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/requests_cache/session.py", line 229, in _send_and_cache
+ response = super().send(request, **kwargs)
+ File "/home/runner/work/Fast-F1/Fast-F1/fastf1/req.py", line 124, in send
+ return super().send(request, **kwargs)
+ File "/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/requests/sessions.py", line 703, in send
+ r = adapter.send(request, **kwargs)
+ File "/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/requests/adapters.py", line 501, in send
+ raise ConnectionError(err, request=request)
+requests.exceptions.ConnectionError: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))
+
+
For each driver, get their three letter abbreviation (e.g. ‘HAM’) by simply
using the value of the first lap, get their color and then plot their
position over the number of laps.
@@ -301,7 +358,7 @@
plt.show()
-
Total running time of the script: (0 minutes 2.092 seconds)
+
Total running time of the script: (0 minutes 7.884 seconds)