Spaces:
Runtime error
Runtime error
gstdl
commited on
Commit
•
a6a064f
1
Parent(s):
3f3be1f
modify app default value
Browse files
app.py
CHANGED
@@ -104,7 +104,7 @@ st.dataframe(get_filtered_data(selected_continents, selected_countries, min_year
|
|
104 |
st.markdown("## Gapminder Boxplot")
|
105 |
col1, col2 = st.columns(2)
|
106 |
with col1:
|
107 |
-
x = st.selectbox("Select x Axis", dimension,
|
108 |
with col2:
|
109 |
y = st.selectbox("Select y Axis", metrics, key="boxplot_y")
|
110 |
st.plotly_chart(box_plot(df, x, y))
|
|
|
104 |
st.markdown("## Gapminder Boxplot")
|
105 |
col1, col2 = st.columns(2)
|
106 |
with col1:
|
107 |
+
x = st.selectbox("Select x Axis", dimension, 1, key="boxplot_x")
|
108 |
with col2:
|
109 |
y = st.selectbox("Select y Axis", metrics, key="boxplot_y")
|
110 |
st.plotly_chart(box_plot(df, x, y))
|