tave-st commited on
Commit
ab81fe3
1 Parent(s): ce760a9

remove container width

Browse files
Files changed (2) hide show
  1. pages/clustering.py +2 -2
  2. recommender_system.py +1 -2
pages/clustering.py CHANGED
@@ -143,7 +143,7 @@ def show_purhcase_history(user: int, df: pd.DataFrame):
143
  .properties(title="User expenses")
144
  )
145
 
146
- st.altair_chart(c, use_container_width=True)
147
 
148
 
149
  def show_user_info(user: int, df_rfm: pd.DataFrame):
@@ -245,7 +245,7 @@ def plot_rfm_distribution(df_rfm: pd.DataFrame, cluster_info: Dict[str, List[int
245
  line_dash="dot",
246
  annotation=dict(textangle=90, font_color="red"),
247
  )
248
- st.plotly_chart(fig, use_container_width=True)
249
 
250
 
251
  def display_dataframe_heatmap(df_rfm: pd.DataFrame):
 
143
  .properties(title="User expenses")
144
  )
145
 
146
+ st.altair_chart(c)
147
 
148
 
149
  def show_user_info(user: int, df_rfm: pd.DataFrame):
 
245
  line_dash="dot",
246
  annotation=dict(textangle=90, font_color="red"),
247
  )
248
+ st.plotly_chart(fig)
249
 
250
 
251
  def display_dataframe_heatmap(df_rfm: pd.DataFrame):
recommender_system.py CHANGED
@@ -329,8 +329,7 @@ The dataset used for these computations is the following:
329
  data.drop(
330
  COLUMN_NOT_DISPLAY,
331
  axis=1,
332
- ),
333
- use_container_width=True,
334
  )
335
 
336
  st.markdown("## Interactive suggestion")
 
329
  data.drop(
330
  COLUMN_NOT_DISPLAY,
331
  axis=1,
332
+ )
 
333
  )
334
 
335
  st.markdown("## Interactive suggestion")