Closed
Description
It has no effect for theme_classic
ggplot(mtcars, aes(wt, mpg)) + geom_point() + theme_classic() + theme(panel.grid.major.y = element_line(colour = "pink", size = 4))
but it does work for the other themes
ggplot(mtcars, aes(wt, mpg)) + geom_point() + theme_bw() + theme(panel.grid.major.y = element_line(colour = "pink", size = 4))
It also doesn't work for the grid lines perpendicular to the x-axis.
Metadata
Metadata
Assignees
Labels
No labels