In the below example, why does the vline not get coloured blue? I would have thought the colour scale would be inherited by all layers with the col aesthetic.
I understand that I could add a col = "blue" argument to
geom_vline, but I am trying to get my head around how colour scales work.
library(tidyverse) library(palmerpenguins) penguins %>% ggplot(aes(flipper_length_mm, body_mass_g, colour = "1")) + geom_point() + geom_vline(xintercept = 200) + scale_color_manual(values = "blue")