Update functions/pitch_summary_functions.py
Browse files
functions/pitch_summary_functions.py
CHANGED
|
@@ -765,7 +765,7 @@ def player_bio(pitcher_id: str, ax: plt.Axes, sport_id: int, year_input: int):
|
|
| 765 |
|
| 766 |
# Display the player's name, handedness, age, height, and weight on the axis
|
| 767 |
ax.text(0.5, 1, f'{player_name}', va='top', ha='center', fontsize=56)
|
| 768 |
-
ax.text(0.5, 0.7, f'{pitcher_hand}HP, Age:{age}, {height}/{weight}', va='top', ha='center', fontsize=30)
|
| 769 |
ax.text(0.5, 0.45, f'Season Pitching Summary', va='top', ha='center', fontsize=40)
|
| 770 |
|
| 771 |
# Make API call to retrieve sports information
|
|
|
|
| 765 |
|
| 766 |
# Display the player's name, handedness, age, height, and weight on the axis
|
| 767 |
ax.text(0.5, 1, f'{player_name}', va='top', ha='center', fontsize=56)
|
| 768 |
+
ax.text(0.5, 0.7, f'{pitcher_hand}HP, Age: {age}, {height}/{weight}', va='top', ha='center', fontsize=30)
|
| 769 |
ax.text(0.5, 0.45, f'Season Pitching Summary', va='top', ha='center', fontsize=40)
|
| 770 |
|
| 771 |
# Make API call to retrieve sports information
|