DasariHarshitha commited on
Commit
1206cdb
·
verified ·
1 Parent(s): 4b79ca6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -72,12 +72,12 @@ elif page == "EDA":
72
  col1, col2 = st.columns(2)
73
  with col1:
74
  st.subheader(" Anglez")
75
- plot_histogram(df, "anglez", "#74b9ff")
76
  st.markdown("- Distribution typical of rest posture")
77
 
78
  with col2:
79
  st.subheader(" ENMO")
80
- plot_histogram(df, "enmo", "#81ecec")
81
  st.markdown("- ENMO reflects movement intensity")
82
 
83
  # ---- Pairplot ----
@@ -90,7 +90,7 @@ elif page == "EDA":
90
  # ---- Boxplots ----
91
  st.subheader(" Boxplots")
92
  fig, axs = plt.subplots(1, 2, figsize=(12, 5))
93
- sns.boxplot(y=df["anglez"], ax=axs[0], color='#74b9ff')
94
  axs[0].set_title("Boxplot: Anglez")
95
  sns.boxplot(y=df["enmo"], ax=axs[1], color='#81ecec')
96
  axs[1].set_title("Boxplot: ENMO")
 
72
  col1, col2 = st.columns(2)
73
  with col1:
74
  st.subheader(" Anglez")
75
+ plot_histogram(df, "anglez", "#81ecec")
76
  st.markdown("- Distribution typical of rest posture")
77
 
78
  with col2:
79
  st.subheader(" ENMO")
80
+ plot_histogram(df, "enmo", "#a29bfe")
81
  st.markdown("- ENMO reflects movement intensity")
82
 
83
  # ---- Pairplot ----
 
90
  # ---- Boxplots ----
91
  st.subheader(" Boxplots")
92
  fig, axs = plt.subplots(1, 2, figsize=(12, 5))
93
+ sns.boxplot(y=df["anglez"], ax=axs[0], color='#ff7f0e')
94
  axs[0].set_title("Boxplot: Anglez")
95
  sns.boxplot(y=df["enmo"], ax=axs[1], color='#81ecec')
96
  axs[1].set_title("Boxplot: ENMO")