Hi
I would like to change the appearance of the color guide. I am using alpha = .1 in geom_line. But I don't want to use the alpha'd color in the guide - because you can hardly differentiate the colors.
(I am using all the latest package versions)
library(dplyr)
library(tidyr)
library(ggplot2)
df <- tibble(y1 = rnorm(1000, 0, 1),
y2 = rnorm(1000, 2, 2),
y3 = rnorm(1000, 4, 3),
id = 1:1000,
t = c("A", "B", "C")[round(runif(1000) * 2) + 1]) %>%
pivot_longer(cols = starts_with("y"), values_to = "y", names_to = "x") %>%
mutate(x = rep(1:3, 1000))
df %>%
ggplot() +
geom_line(aes(x, y, color = t, group = id), alpha = .1)

Please note, that it's even worse in the preview in RStudio.
Anyway, I would like the guide to be the same as if there would be no alpha parameter in geom_line.
Thanks in advance
Seb