Spaces:
Running
Running
James McCool
commited on
Commit
·
2392e35
1
Parent(s):
90d5e18
Update scoring percentages DataFrame in app.py to include 'Order' in the background gradient styling for improved visual clarity and data representation.
Browse files
app.py
CHANGED
@@ -383,7 +383,7 @@ with tab1:
|
|
383 |
if prio_var is not None:
|
384 |
scoring_percentages = scoring_percentages[scoring_percentages['Stack_Prio'] == prio_var]
|
385 |
scoring_percentages = scoring_percentages.set_index('Names', drop=True)
|
386 |
-
st.dataframe(scoring_percentages.style.background_gradient(axis=0).background_gradient(cmap='RdYlGn').background_gradient(cmap='RdYlGn_r', subset=['Avg_Salary', 'Own%']).format(game_format, precision=2), height=750, use_container_width = True)
|
387 |
|
388 |
with tab2:
|
389 |
st.header("Player ROO")
|
|
|
383 |
if prio_var is not None:
|
384 |
scoring_percentages = scoring_percentages[scoring_percentages['Stack_Prio'] == prio_var]
|
385 |
scoring_percentages = scoring_percentages.set_index('Names', drop=True)
|
386 |
+
st.dataframe(scoring_percentages.style.background_gradient(axis=0).background_gradient(cmap='RdYlGn').background_gradient(cmap='RdYlGn_r', subset=['Order', 'Avg_Salary', 'Own%']).format(game_format, precision=2), height=750, use_container_width = True)
|
387 |
|
388 |
with tab2:
|
389 |
st.header("Player ROO")
|