Spaces:
Sleeping
Sleeping
Update pages/1player_information.py
Browse files
pages/1player_information.py
CHANGED
@@ -159,7 +159,4 @@ if selected_player:
|
|
159 |
ax.bar(labels, balls_bowled, color=["red", "yellow", "blue", "green"])
|
160 |
ax.set_ylabel("Balls Bowled")
|
161 |
ax.set_title(f"Balls Bowled by {selected_player}")
|
162 |
-
st.pyplot(fig)
|
163 |
-
|
164 |
-
|
165 |
-
add a message to the code if the player name was not found and displaye the message
|
|
|
159 |
ax.bar(labels, balls_bowled, color=["red", "yellow", "blue", "green"])
|
160 |
ax.set_ylabel("Balls Bowled")
|
161 |
ax.set_title(f"Balls Bowled by {selected_player}")
|
162 |
+
st.pyplot(fig)
|
|
|
|
|
|