Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -34,11 +34,20 @@ cmap_sum = mcolors.LinearSegmentedColormap.from_list("", ['#648FFF', '#FFFFFF',
|
|
| 34 |
year_list = [2025]
|
| 35 |
|
| 36 |
|
| 37 |
-
type_dict = {
|
| 38 |
-
|
| 39 |
-
|
| 40 |
-
|
| 41 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 42 |
|
| 43 |
function_dict={
|
| 44 |
'velocity_kdes':'Velocity Distributions',
|
|
|
|
| 34 |
year_list = [2025]
|
| 35 |
|
| 36 |
|
| 37 |
+
type_dict = {'R':'Regular',
|
| 38 |
+
'P':'Playoffs',
|
| 39 |
+
'S':'Spring',
|
| 40 |
+
'E':'Exhibition'}
|
| 41 |
+
|
| 42 |
+
level_dict = {'1':'MLB',
|
| 43 |
+
'11':'AAA',
|
| 44 |
+
# '12':'AA',
|
| 45 |
+
#'13':'A+',
|
| 46 |
+
'14':'A',
|
| 47 |
+
'17':'AFL',
|
| 48 |
+
'22':'College',
|
| 49 |
+
'21':'Prospects',
|
| 50 |
+
'51':'International' }
|
| 51 |
|
| 52 |
function_dict={
|
| 53 |
'velocity_kdes':'Velocity Distributions',
|