laverdes commited on
Commit
c5f7083
·
1 Parent(s): 386489b

chore: ballons and warning refactor

Browse files
Files changed (1) hide show
  1. 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
- while True:
64
- time.sleep(4)
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
- else:
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="⚠️")