Last active
August 7, 2022 12:31
-
-
Save dhupee/859a6ddf8cc67e079151c5524b439f26 to your computer and use it in GitHub Desktop.
Fastf1-Hungaroring-Quali-2022 gist
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import fastf1 | |
| from fastf1 import plotting | |
| from matplotlib import pyplot as plt | |
| from matplotlib.pyplot import figure | |
| from matplotlib.collections import LineCollection | |
| from matplotlib import cm | |
| import numpy as np | |
| import pandas as pd | |
| # Setup plotting | |
| plotting.setup_mpl() | |
| # Enable the cache | |
| fastf1.Cache.enable_cache('cache') | |
| # Get rid of some pandas warnings that are not relevant for us at the moment | |
| pd.options.mode.chained_assignment = None |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment