Use alpha for lines of geom_density(), geom_bar(), and so on #1371
Hi, thanks for this great package!
I saw many people (including me) are confused at the behavior of
When I draw a chart with
ggplot(diamonds, aes(carat)) + geom_density(fill = "red", colour = "red", alpha = 0.1)
I expect the one like this.
I know we can draw the latter chart by using
The possible implementation is very simple. We just need to change those two lines to
If this looks good to you, I'm happy to submit PR
The text was updated successfully, but these errors were encountered:
Hmm..., thanks for your quick answer, anyway.
I found the behavior of
Okay, I trust in you this time. You always have a good reason; the very fact can be a good reason for me to close this issue
I am so sorry to see this! You should believe in yourself more hadley :-).
While if you wanted to get the line lighter, you can always change its
Could we revert this? I'm pretty sure it's breaking more code now than it would if reverted for 2.1...