Update functions/PitchPlotFunctions.py
Browse files
functions/PitchPlotFunctions.py
CHANGED
|
@@ -224,11 +224,11 @@ class PitchPlotFunctions:
|
|
| 224 |
|
| 225 |
# Set header text
|
| 226 |
if game_type[0] in ['S','P']:
|
| 227 |
-
ax.text(0.5, 0.4, f'{start_date} to {end_date} ({type_dict[game_type[0]]}){batter_hand_text}',
|
| 228 |
fontsize=12, fontstyle='italic')
|
| 229 |
|
| 230 |
else:
|
| 231 |
-
ax.text(0.5, 0.4, f'{start_date} to {end_date}{batter_hand_text}',
|
| 232 |
fontsize=12, fontstyle='italic')
|
| 233 |
# ax.text(0.5, 0.40, f'{start_date} to {end_date}{batter_hand_text}', va='top', ha='center', fontsize=12, fontstyle='italic')
|
| 234 |
# Turn off the axis
|
|
|
|
| 224 |
|
| 225 |
# Set header text
|
| 226 |
if game_type[0] in ['S','P']:
|
| 227 |
+
ax.text(0.5, 0.4, f'{start_date} to {end_date} ({type_dict[game_type[0]]}){batter_hand_text}',va='top', ha='center',
|
| 228 |
fontsize=12, fontstyle='italic')
|
| 229 |
|
| 230 |
else:
|
| 231 |
+
ax.text(0.5, 0.4, f'{start_date} to {end_date}{batter_hand_text}',va='top', ha='center',
|
| 232 |
fontsize=12, fontstyle='italic')
|
| 233 |
# ax.text(0.5, 0.40, f'{start_date} to {end_date}{batter_hand_text}', va='top', ha='center', fontsize=12, fontstyle='italic')
|
| 234 |
# Turn off the axis
|