Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -526,13 +526,13 @@ def server(input, output, session):
|
|
| 526 |
print(df_plot.filter((pl.col('launch_speed')>0)).select(['batter_name','launch_speed','launch_angle','woba_pred_contact']))
|
| 527 |
heat_map_plot_hex_damage(df=df_plot,
|
| 528 |
ax=ax_left,
|
| 529 |
-
cmap=
|
| 530 |
hand='L',
|
| 531 |
scatter=scatter_bool)
|
| 532 |
|
| 533 |
heat_map_plot_hex_damage(df=df_plot,
|
| 534 |
ax=ax_right,
|
| 535 |
-
cmap=
|
| 536 |
hand='R',
|
| 537 |
scatter=scatter_bool)
|
| 538 |
|
|
|
|
| 526 |
print(df_plot.filter((pl.col('launch_speed')>0)).select(['batter_name','launch_speed','launch_angle','woba_pred_contact']))
|
| 527 |
heat_map_plot_hex_damage(df=df_plot,
|
| 528 |
ax=ax_left,
|
| 529 |
+
cmap=cmap_sum,
|
| 530 |
hand='L',
|
| 531 |
scatter=scatter_bool)
|
| 532 |
|
| 533 |
heat_map_plot_hex_damage(df=df_plot,
|
| 534 |
ax=ax_right,
|
| 535 |
+
cmap=cmap_sum,
|
| 536 |
hand='R',
|
| 537 |
scatter=scatter_bool)
|
| 538 |
|