Spaces:
Sleeping
Sleeping
Update app.R
Browse files
app.R
CHANGED
|
@@ -922,7 +922,7 @@ make_color_ramp <- function(values, low, high, flip = FALSE,
|
|
| 922 |
color = "white", size = 3, fontface = "bold") +
|
| 923 |
scale_fill_manual(values = pitch_colors, name = NULL, drop = TRUE) +
|
| 924 |
scale_color_manual(values = pitch_colors, name = NULL, drop = TRUE) +
|
| 925 |
-
xlim(-25, 25)
|
| 926 |
labs(title = paste(display_name, "— Pitch Movement"),
|
| 927 |
x = "Horizontal Break (in)", y = "Induced Vertical Break (in)") +
|
| 928 |
theme_minimal() +
|
|
|
|
| 922 |
color = "white", size = 3, fontface = "bold") +
|
| 923 |
scale_fill_manual(values = pitch_colors, name = NULL, drop = TRUE) +
|
| 924 |
scale_color_manual(values = pitch_colors, name = NULL, drop = TRUE) +
|
| 925 |
+
coord_fixed(ratio = 1, xlim = c(-25, 25), ylim = c(-25, 25)) +
|
| 926 |
labs(title = paste(display_name, "— Pitch Movement"),
|
| 927 |
x = "Horizontal Break (in)", y = "Induced Vertical Break (in)") +
|
| 928 |
theme_minimal() +
|