Does anyone know how to make a smoothed line with transparency show transparency in legend?
Is this a bug, or am I doing something wrong??
See example below
library(ggplot2) library(palmerpenguins) ggplot(penguins) + geom_smooth(aes(bill_length_mm, body_mass_g, col = species)) + scale_color_manual(values = scales::alpha(c("red", "blue", "green"), 0.1))