Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -157,7 +157,7 @@ with tab1:
|
|
157 |
slate_table_instance = wr_matchups
|
158 |
|
159 |
with col2:
|
160 |
-
if stat_type_var2 == 'Macro
|
161 |
st.dataframe(slate_table_instance.style.background_gradient(axis=0).background_gradient(cmap = 'RdYlGn').format(game_format, precision=2), height=1000, use_container_width = True)
|
162 |
elif stat_type_var2 == 'WR/TE Coverage Matchups':
|
163 |
st.dataframe(slate_table_instance.style.background_gradient(axis=0).background_gradient(cmap = 'RdYlGn').format(wr_matchups_form, precision=2), height=1000, use_container_width = True)
|
|
|
157 |
slate_table_instance = wr_matchups
|
158 |
|
159 |
with col2:
|
160 |
+
if stat_type_var2 == 'Macro Stats':
|
161 |
st.dataframe(slate_table_instance.style.background_gradient(axis=0).background_gradient(cmap = 'RdYlGn').format(game_format, precision=2), height=1000, use_container_width = True)
|
162 |
elif stat_type_var2 == 'WR/TE Coverage Matchups':
|
163 |
st.dataframe(slate_table_instance.style.background_gradient(axis=0).background_gradient(cmap = 'RdYlGn').format(wr_matchups_form, precision=2), height=1000, use_container_width = True)
|