Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -356,7 +356,7 @@ elif option == "Player Stats" and selected_player:
|
|
| 356 |
fig_line = px.line(player_bowling, x='Format', y='Eco', title="Economy Rate",
|
| 357 |
color_discrete_sequence=['#00cc96'])
|
| 358 |
st.plotly_chart(fig_line, use_container_width=True)
|
| 359 |
-
fig_heatmap = px.imshow(player_bowling[['Wickets', 'Eco', '
|
| 360 |
color_continuous_scale='Plasma', title="Bowling Stats Heatmap")
|
| 361 |
st.plotly_chart(fig_heatmap, use_container_width=True)
|
| 362 |
st.markdown("</div>", unsafe_allow_html=True)
|
|
|
|
| 356 |
fig_line = px.line(player_bowling, x='Format', y='Eco', title="Economy Rate",
|
| 357 |
color_discrete_sequence=['#00cc96'])
|
| 358 |
st.plotly_chart(fig_line, use_container_width=True)
|
| 359 |
+
fig_heatmap = px.imshow(player_bowling[['Wickets', 'Eco', 'Avg']].T, text_auto=True,
|
| 360 |
color_continuous_scale='Plasma', title="Bowling Stats Heatmap")
|
| 361 |
st.plotly_chart(fig_heatmap, use_container_width=True)
|
| 362 |
st.markdown("</div>", unsafe_allow_html=True)
|