Skip to content

Commit

Permalink
v3.1.3 (build_docs) ci release
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions committed Oct 7, 2023
1 parent d50080e commit 54772a4
Show file tree
Hide file tree
Showing 146 changed files with 814 additions and 537 deletions.
2 changes: 1 addition & 1 deletion .buildinfo
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Sphinx build info version 1
# This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done.
config: 2b82c19eb0686a76b375ecc9afa64428
config: d465110f0e1dfff9ccc78f9725f6cfa8
tags: 645f666f9bcd5a90fca523b33c5a78b7
Binary file modified .doctrees/changelog/index.doctree
Binary file not shown.
Binary file modified .doctrees/changelog/v3.1.x.doctree
Binary file not shown.
Binary file modified .doctrees/environment.pickle
Binary file not shown.
Binary file modified .doctrees/examples/index.doctree
Binary file not shown.
Binary file modified .doctrees/examples_gallery/plot_annotate_corners.doctree
Binary file not shown.
Binary file modified .doctrees/examples_gallery/plot_annotate_speed_trace.doctree
Binary file not shown.
Binary file modified .doctrees/examples_gallery/plot_driver_laptimes.doctree
Binary file not shown.
Binary file modified .doctrees/examples_gallery/plot_gear_shifts_on_track.doctree
Binary file not shown.
Binary file modified .doctrees/examples_gallery/plot_laptimes_distribution.doctree
Binary file not shown.
Binary file modified .doctrees/examples_gallery/plot_position_changes.doctree
Binary file not shown.
Binary file modified .doctrees/examples_gallery/plot_qualifying_results.doctree
Binary file not shown.
Binary file modified .doctrees/examples_gallery/plot_results_tracker.doctree
Binary file not shown.
Binary file modified .doctrees/examples_gallery/plot_speed_on_track.doctree
Binary file not shown.
Binary file modified .doctrees/examples_gallery/plot_speed_traces.doctree
Binary file not shown.
Binary file modified .doctrees/examples_gallery/plot_strategy.doctree
Binary file not shown.
Binary file modified .doctrees/examples_gallery/plot_team_pace_ranking.doctree
Binary file not shown.
Binary file modified .doctrees/examples_gallery/plot_who_can_still_win_wdc.doctree
Binary file not shown.
Binary file modified .doctrees/examples_gallery/sg_execution_times.doctree
Binary file not shown.
Binary file modified .doctrees/legacy.doctree
Binary file not shown.
Binary file modified .doctrees/utils.doctree
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.9.17"
"version": "3.9.18"
}
},
"nbformat": 4,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.9.17"
"version": "3.9.18"
}
},
"nbformat": 4,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.9.17"
"version": "3.9.18"
}
},
"nbformat": 4,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.9.17"
"version": "3.9.18"
}
},
"nbformat": 4,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.9.17"
"version": "3.9.18"
}
},
"nbformat": 4,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.9.17"
"version": "3.9.18"
}
},
"nbformat": 4,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.9.17"
"version": "3.9.18"
}
},
"nbformat": 4,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.9.17"
"version": "3.9.18"
}
},
"nbformat": 4,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ def calculate_max_points_for_remaining_season():

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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.9.17"
"version": "3.9.18"
}
},
"nbformat": 4,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.9.17"
"version": "3.9.18"
}
},
"nbformat": 4,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.9.17"
"version": "3.9.18"
}
},
"nbformat": 4,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
},
"outputs": [],
"source": [
"def calculate_max_points_for_remaining_season():\n POINTS_FOR_SPRINT = 8 + 25 + 1 # Winning the sprint, race and fastest lap\n POINTS_FOR_CONVENTIONAL = 25 + 1 # Winning the race and fastest lap\n\n events = fastf1.events.get_events_remaining(backend=\"ergast\")\n # Count how many sprints and conventional races are left\n sprint_events = len(events.loc[events[\"EventFormat\"] == \"sprint\"])\n conventional_events = len(events.loc[events[\"EventFormat\"] == \"conventional\"])\n\n # Calculate points for each\n sprint_points = sprint_events * POINTS_FOR_SPRINT\n conventional_points = conventional_events * POINTS_FOR_CONVENTIONAL\n\n return sprint_points + conventional_points"
"def calculate_max_points_for_remaining_season():\n POINTS_FOR_SPRINT = 8 + 25 + 1 # Winning the sprint, race and fastest lap\n POINTS_FOR_CONVENTIONAL = 25 + 1 # Winning the race and fastest lap\n\n events = fastf1.events.get_events_remaining(backend=\"ergast\")\n # Count how many sprints and conventional races are left\n sprint_events = len(events.loc[events[\"EventFormat\"] == \"sprint_shootout\"])\n conventional_events = len(events.loc[events[\"EventFormat\"] == \"conventional\"])\n\n # Calculate points for each\n sprint_points = sprint_events * POINTS_FOR_SPRINT\n conventional_points = conventional_events * POINTS_FOR_CONVENTIONAL\n\n return sprint_points + conventional_points"
]
},
{
Expand Down Expand Up @@ -107,7 +107,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.9.17"
"version": "3.9.18"
}
},
"nbformat": 4,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.9.17"
"version": "3.9.18"
}
},
"nbformat": 4,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.9.17"
"version": "3.9.18"
}
},
"nbformat": 4,
Expand Down
Binary file modified _images/sphx_glr_plot_annotate_corners_001.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified _images/sphx_glr_plot_annotate_speed_trace_001.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified _images/sphx_glr_plot_driver_laptimes_001.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified _images/sphx_glr_plot_gear_shifts_on_track_001.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified _images/sphx_glr_plot_laptimes_distribution_001.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified _images/sphx_glr_plot_position_changes_001.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified _images/sphx_glr_plot_qualifying_results_001.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified _images/sphx_glr_plot_results_tracker_thumb.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified _images/sphx_glr_plot_speed_on_track_001.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified _images/sphx_glr_plot_speed_traces_001.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified _images/sphx_glr_plot_strategy_001.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified _images/sphx_glr_plot_team_pace_ranking_001.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified _images/sphx_glr_plot_team_pace_ranking_thumb.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 5 additions & 5 deletions _modules/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
<meta name="viewport" content="width=device-width,initial-scale=1"/>
<meta name="color-scheme" content="light dark"><link rel="index" title="Index" href="../genindex.html" /><link rel="search" title="Search" href="../search.html" />

<!-- Generated with Sphinx 7.2.5 and Furo 2023.08.19 -->
<title>Overview: module code - FastF1 3.1.2</title>
<!-- Generated with Sphinx 7.2.6 and Furo 2023.09.10 -->
<title>Overview: module code - FastF1 3.1.3</title>
<link rel="stylesheet" type="text/css" href="../_static/pygments.css?v=a746c00c" />
<link rel="stylesheet" type="text/css" href="../_static/styles/furo.css?v=135e06be" />
<link rel="stylesheet" type="text/css" href="../_static/plot_directive.css?v=7f9a90b1" />
Expand Down Expand Up @@ -128,7 +128,7 @@
</label>
</div>
<div class="header-center">
<a href="../index.html"><div class="brand">FastF1 <small>3.1.2</small></div></a>
<a href="../index.html"><div class="brand">FastF1 <small>3.1.3</small></div></a>
</div>
<div class="header-right">
<div class="theme-toggle-container theme-toggle-header">
Expand All @@ -151,7 +151,7 @@
<div class="sidebar-sticky"><a class="sidebar-brand" href="../index.html">


<span class="sidebar-brand-text">FastF1 <small>3.1.2</small></span>
<span class="sidebar-brand-text">FastF1 <small>3.1.3</small></span>

</a><form class="sidebar-search-container" method="get" action="../search.html" role="search">
<input class="sidebar-search" placeholder="Search" name="q" aria-label="Search">
Expand Down Expand Up @@ -291,7 +291,7 @@ <h1>All modules for which code is available</h1>

</aside>
</div>
</div><script src="../_static/documentation_options.js?v=4e920bdf"></script>
</div><script src="../_static/documentation_options.js?v=eaea8fc6"></script>
<script src="../_static/doctools.js?v=888ff710"></script>
<script src="../_static/sphinx_highlight.js?v=dc90522c"></script>
<script src="../_static/scripts/furo.js?v=32e29ea5"></script>
Expand Down
13 changes: 13 additions & 0 deletions _sources/changelog/v3.1.x.rst.txt
Original file line number Diff line number Diff line change
@@ -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
--------------------

Expand Down
4 changes: 2 additions & 2 deletions _sources/examples_gallery/plot_annotate_corners.rst.txt
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ the track map is oriented correctly. After that, plot the rotated track map.
.. code-block:: none
[<matplotlib.lines.Line2D object at 0x7f954b990f10>]
[<matplotlib.lines.Line2D object at 0x7f354be596a0>]
Expand Down Expand Up @@ -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:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion _sources/examples_gallery/plot_driver_laptimes.rst.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
62 changes: 61 additions & 1 deletion _sources/examples_gallery/plot_position_changes.rst.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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'))
Expand Down Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion _sources/examples_gallery/plot_qualifying_results.rst.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion _sources/examples_gallery/plot_results_tracker.rst.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion _sources/examples_gallery/plot_speed_on_track.rst.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion _sources/examples_gallery/plot_speed_traces.rst.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
Loading

0 comments on commit 54772a4

Please sign in to comment.