Spaces:
Running
Running
James McCool
commited on
Commit
·
7474807
1
Parent(s):
8108ccb
Update simulation interface by adjusting DataFrame display height and adding whitespace for improved readability. This enhances the user experience when simulating prop categories.
Browse files
app.py
CHANGED
@@ -496,6 +496,7 @@ with tab6:
|
|
496 |
mime='text/csv',
|
497 |
key='prop_source',
|
498 |
)
|
|
|
499 |
if st.button('Simulate Prop Category'):
|
500 |
|
501 |
with df_hold_container.container():
|
@@ -781,7 +782,7 @@ with tab6:
|
|
781 |
|
782 |
with df_hold_container:
|
783 |
df_hold_container = st.empty()
|
784 |
-
st.dataframe(final_outcomes.style.background_gradient(axis=0).background_gradient(cmap='RdYlGn').format(sim_format, precision=2), height=
|
785 |
with export_container:
|
786 |
export_container = st.empty()
|
787 |
st.download_button(
|
|
|
496 |
mime='text/csv',
|
497 |
key='prop_source',
|
498 |
)
|
499 |
+
|
500 |
if st.button('Simulate Prop Category'):
|
501 |
|
502 |
with df_hold_container.container():
|
|
|
782 |
|
783 |
with df_hold_container:
|
784 |
df_hold_container = st.empty()
|
785 |
+
st.dataframe(final_outcomes.style.background_gradient(axis=0).background_gradient(cmap='RdYlGn').format(sim_format, precision=2), height=500, use_container_width = True)
|
786 |
with export_container:
|
787 |
export_container = st.empty()
|
788 |
st.download_button(
|