Skip to content

Panel Grid Aesthetics Can't be Changed for theme_classic #1555

Closed
@DarioS

Description

@DarioS

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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions