drop the labels from the FOSSY closed by plot
This commit is contained in:
parent
7232f095e0
commit
41de0cbc7a
Binary file not shown.
Before Width: | Height: | Size: 969 KiB After Width: | Height: | Size: 875 KiB |
@ -49,16 +49,7 @@ new_tasks <- combined_count_df |>
|
||||
geom_vline(data = combined_df |> filter(source == "c3"),
|
||||
aes(xintercept = -3),
|
||||
linetype = "3313", color = "black", linewidth = 0.5) +
|
||||
geom_text(data = data.frame(source = "c1", relative_week = -43, lengthened_commit_count = 0.95),
|
||||
aes(x = relative_week, y = lengthened_commit_count, label = "Opt-In Testing Deployment"),
|
||||
inherit.aes = FALSE, color = "black", size = 4) +
|
||||
geom_vline(xintercept = 0, linetype = "dashed", color = "black", linewidth = 0.5) + # Add vertical line at week 0
|
||||
geom_text(data = data.frame(source = "c2", relative_week = 8, lengthened_commit_count = 0.95),
|
||||
aes(x = relative_week, y = lengthened_commit_count, label = "Wide Deployment"),
|
||||
inherit.aes = FALSE, color = "black", size = 4) +
|
||||
geom_text(data = data.frame(source = "c3", relative_week = -18, lengthened_commit_count = 0.95),
|
||||
aes(x = relative_week, y = lengthened_commit_count, label = "Wide Deployment Announcement"),
|
||||
inherit.aes = FALSE, color = "black", size = 4) +
|
||||
scale_fill_manual(values = affiliationColors,
|
||||
labels = c("False" = "Unaffiliated",
|
||||
"True" = "WMF-affiliated")) +
|
||||
@ -81,5 +72,14 @@ new_tasks <- combined_count_df |>
|
||||
"c3" = "HTTP-deprecation (2015)"
|
||||
)))
|
||||
new_tasks
|
||||
#geom_text(data = data.frame(source = "c1", relative_week = -42.5, lengthened_commit_count = 0.95),
|
||||
#aes(x = relative_week, y = lengthened_commit_count, label = "Opt-In Testing Deployment"),
|
||||
#inherit.aes = FALSE, color = "black", size = 4) +
|
||||
#geom_text(data = data.frame(source = "c2", relative_week = 7, lengthened_commit_count = 0.95),
|
||||
# aes(x = relative_week, y = lengthened_commit_count, label = "Wide Deployment"),
|
||||
# inherit.aes = FALSE, color = "black", size = 4) +
|
||||
# geom_text(data = data.frame(source = "c3", relative_week = -16, lengthened_commit_count = 0.95),
|
||||
# aes(x = relative_week, y = lengthened_commit_count, label = "Wide Deployment Announcement"),
|
||||
# inherit.aes = FALSE, color = "black", size = 4) +
|
||||
|
||||
ggsave(filename = "073125-fossy-tasks-resolved.png", plot = new_tasks, width = 15, height = 9, dpi = 800)
|
||||
|
Loading…
Reference in New Issue
Block a user