I'm looking for a way to remove the non-overlapping bottom border when added in geom_bar
. I don't want to use an option like geom_hline(yintercept = 0, colour = "white")
, as nitpicky as it sounds as it covers the original bar's single line of pixels. I'm guessing I might have to modify the internals of the ggproto object directly but I don't know how to go about doing that.
Sample code:
plot <- iris %>% ggplot(aes(Species, Sepal.Length, fill = Species)) +
geom_bar(stat = "summary", fun.y = "mean", colour = "black")
Desired output: