I created a swimmer plot using package swimplot and added response lines to the graph, but the legend symbols have borders that I cannot figure out how to remove.
swimmer_lines(
df_lines = resp, id = "study_id", start = "response_start",
end = "response_end", name_col = "response", size = 1
) +
scale_color_manual(
name = "Response",
values = c("PD" = "red", "SD" = "grey", "PR" = "mediumpurple", "CR" = "violetred1"),
breaks = c("PD", "SD", "PR", "CR")
) +
guides(color = guide_legend(override.aes = list(fill = NA)))
How can I remove the "borders" on each of the legend symbols without removing the line/legend symbol itself?