Created
May 27, 2022 13:15
-
-
Save rian-dolphin/202f0c0a1a7eb7b6135b9f0db5306ef4 to your computer and use it in GitHub Desktop.
This file contains 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
# -- Get the user input | |
year_col, continent_col, log_x_col = st.columns([5, 5, 5]) | |
with year_col: | |
year_choice = st.slider( | |
"What year would you like to examine?", | |
min_value=1952, | |
max_value=2007, | |
step=5, | |
value=2007, | |
) | |
with continent_col: | |
continent_choice = st.selectbox( | |
"What continent would you like to look at?", | |
("All", "Asia", "Europe", "Africa", "Americas", "Oceania"), | |
) | |
with log_x_col: | |
log_x_choice = st.checkbox("Log X Axis?") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment