Context: R/ggplot2.
If I am not mistaken, theme_bw() used to draw some black gridlines, but with the latest version it doesn't. Is there a way to restore previous situation ?
Context: R/ggplot2.
If I am not mistaken, theme_bw() used to draw some black gridlines, but with the latest version it doesn't. Is there a way to restore previous situation ?
Check this relatively old question, the grid there is grey, which is also confirmed by the theme definition here. So I suppose it has always been the same.
To "restore" black grid lines, use
qplot(1:10) +
theme_bw() +
theme(panel.grid.minor = element_line(colour = "black", size = 0.5),
panel.grid.major = element_line(colour = "black", size = 0.2))