I'd like to set the default fill-colour for geom_bin(). I thought
update_stat_defaults("bin", list(colour="red", fill="green"))
should set the fill-colour to green and the boundary to red (such as
ggplot(data, aes(x=x)) + stat_bin(color="red", fill="green")
does).
But
update_stat_defaults("bin", list(colour="red", fill="green"))
ggplot(data, aes(x=x)) + stat_bin()
gives me black bars. Any ideas?