File size: 334 Bytes
00cd28c
ab813dd
00cd28c
ab813dd
00cd28c
 
ab813dd
 
00cd28c
 
 
ab813dd
00cd28c
c277ad4
1
2
3
4
5
6
7
8
9
10
11
12
13
14
import streamlit as st
from repo_directory.v2 import HeatMap
from repo_directory import button
from repo_directory.v2 import utils

YEAR_SELECTED = st.selectbox(
    'Select Year',
    utils.get_years())

RACE_SELECTED = st.selectbox(
    'Select Race',
    utils.get_events(YEAR_SELECTED))

HeatMap.plot(RACE_SELECTED, YEAR_SELECTED)