Spaces:
Running
Running
Update functions/PitchPlotFunctions.py
Browse files
functions/PitchPlotFunctions.py
CHANGED
|
@@ -90,7 +90,15 @@ class PitchPlotFunctions:
|
|
| 90 |
# Define the sport_id_dict method
|
| 91 |
def sport_id_dict(self):
|
| 92 |
# Dictionary mapping sport IDs to their names
|
| 93 |
-
dict = {1:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 94 |
return dict
|
| 95 |
|
| 96 |
# Define the team_logos method
|
|
|
|
| 90 |
# Define the sport_id_dict method
|
| 91 |
def sport_id_dict(self):
|
| 92 |
# Dictionary mapping sport IDs to their names
|
| 93 |
+
dict = {'1':'MLB',
|
| 94 |
+
'11':'AAA',
|
| 95 |
+
'12':'AA',
|
| 96 |
+
'13':'A+',
|
| 97 |
+
'14':'A',
|
| 98 |
+
'17':'AFL',
|
| 99 |
+
'22':'College',
|
| 100 |
+
'21':'Prospects',
|
| 101 |
+
'51':'International' }
|
| 102 |
return dict
|
| 103 |
|
| 104 |
# Define the team_logos method
|