F1-analysis / pages /Circuit_Maps.py
tracinginsights's picture
Update pages/Circuit_Maps.py
ea15f17 verified
raw
history blame contribute delete
792 Bytes
import streamlit as st
from repo_directory import Circuit_plots
from repo_directory import button, utils
# selections
YEAR = st.selectbox(
'Select Year',
(2024,2023, 2022, 2021, 2020, 2019, 2018))
RACE = st.selectbox(
'Select Race',
utils.get_events(YEAR))
SESSION = st.selectbox(
'Select Session',
utils.get_sessions(YEAR, RACE))
Circuit_plots.plot_speed(YEAR,RACE,SESSION)
Circuit_plots.plot_speed2(YEAR,RACE,SESSION)
Circuit_plots.plot_speed3(YEAR,RACE,SESSION)
Circuit_plots.plot_brake(YEAR,RACE,SESSION)
Circuit_plots.plot_throttle(YEAR,RACE,SESSION)
Circuit_plots.plot_elevation(YEAR,RACE,SESSION)
Circuit_plots.plot_lon_acc(YEAR,RACE,SESSION)
Circuit_plots.plot_lat_acc(YEAR,RACE,SESSION)
Circuit_plots.plot_vertical_acc(YEAR,RACE,SESSION)