Update app.py
Browse files
app.py
CHANGED
|
@@ -1082,7 +1082,7 @@ def server(input, output, session):
|
|
| 1082 |
@reactive.event(input.generate_plot, ignore_none=False)
|
| 1083 |
def whiff_table():
|
| 1084 |
|
| 1085 |
-
|
| 1086 |
teams = requests.get(url='https://statsapi.mlb.com/api/v1/teams/').json()
|
| 1087 |
#Select only teams that are at the MLB level
|
| 1088 |
# mlb_teams_city = [x['franchiseName'] for x in teams['teams'] if x['sport']['name'] == 'Major League Baseball']
|
|
|
|
| 1082 |
@reactive.event(input.generate_plot, ignore_none=False)
|
| 1083 |
def whiff_table():
|
| 1084 |
|
| 1085 |
+
time_delta_fill = 8
|
| 1086 |
teams = requests.get(url='https://statsapi.mlb.com/api/v1/teams/').json()
|
| 1087 |
#Select only teams that are at the MLB level
|
| 1088 |
# mlb_teams_city = [x['franchiseName'] for x in teams['teams'] if x['sport']['name'] == 'Major League Baseball']
|