I am creating a figure where I have a line and confidence bands around it. To do this, I am using both geom_line and geom_ribbon in ggplot2>
geom_line
geom_ribbon
ggplot2>
Try to keep the colour outside aes, then it won't show on legend:
aes
h1 + geom_ribbon(aes(ymin=lower, ymax=upper, x=x), colour = "red", alpha = 0.3)