I would like to change the default colour of the histogram bar in ggplot, the same way I change the theme using theme_replace at the beginning of my code.
Is that possible ?
I tried to follow this post : Change the default colour palette in ggplot
df = data.frame("Group" = c("A", "B"), "Value" = c(7, 11))
options(ggplot2.discrete.fill = c("red", "blue"))
ggplot(df, aes(x = Group, y = Value)) + geom_histogram(stat = "identity")
But it doesn't work.