Wiljan van den Berge commited on
Commit
1df8867
·
1 Parent(s): d5bf70a

style: update deprecated use_container_width to width='stretch'

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -350,7 +350,7 @@ else:
350
  margin=dict(t=80, l=50, r=50, b=50) # Adjusted top margin
351
  )
352
 
353
- st.plotly_chart(fig, use_container_width=True)
354
 
355
  # --- 6. CALCULATOR ---
356
  st.divider()
@@ -385,6 +385,6 @@ else:
385
  st.dataframe(
386
  final_df[['Date', 'Category', 'NominalWage', 'DisplayWage']]
387
  .sort_values(['Date', 'Category'], ascending=[False, True]),
388
- use_container_width=True,
389
  hide_index=True
390
  )
 
350
  margin=dict(t=80, l=50, r=50, b=50) # Adjusted top margin
351
  )
352
 
353
+ st.plotly_chart(fig, width='stretch')
354
 
355
  # --- 6. CALCULATOR ---
356
  st.divider()
 
385
  st.dataframe(
386
  final_df[['Date', 'Category', 'NominalWage', 'DisplayWage']]
387
  .sort_values(['Date', 'Category'], ascending=[False, True]),
388
+ width='stretch',
389
  hide_index=True
390
  )