Spaces:
Runtime error
Runtime error
chore: ballons and warning refactor
Browse files- pages/1_📈_Plotting.py +4 -4
pages/1_📈_Plotting.py
CHANGED
@@ -59,11 +59,11 @@ if not df_base.empty:
|
|
59 |
st.write(f"Action: {plot} using {n_plot} samples")
|
60 |
plot_it = st.button("Plot now! 📊")
|
61 |
if plot_it:
|
|
|
62 |
with st.spinner(f"Drawing plot to visualize {plot.lower()}"):
|
63 |
-
|
64 |
-
|
65 |
-
# create a DataFrame with each run in the columns (depending on n)
|
66 |
with st.expander("See explanation"):
|
67 |
st.write("The chart above shows...")
|
68 |
-
|
69 |
st.warning("Consider running outlier detection to clean your data!", icon="⚠️")
|
|
|
59 |
st.write(f"Action: {plot} using {n_plot} samples")
|
60 |
plot_it = st.button("Plot now! 📊")
|
61 |
if plot_it:
|
62 |
+
st.balloons()
|
63 |
with st.spinner(f"Drawing plot to visualize {plot.lower()}"):
|
64 |
+
time.sleep(4)
|
65 |
+
# create a DF with each run in the columns (depending on n)
|
|
|
66 |
with st.expander("See explanation"):
|
67 |
st.write("The chart above shows...")
|
68 |
+
elif df_base.empty and file:
|
69 |
st.warning("Consider running outlier detection to clean your data!", icon="⚠️")
|