Skip to content

panel.border removes axis lines #1580

Closed
@fromdputto

Description

@fromdputto

using

theme(panel.border = element_blank())

removes the x and y axis lines from the plot and plot is left without any axis lines!!

df <- data.frame(x=seq(1:100), y=seq(1:100))
plot = ggplot(df, aes(x, y)) + geom_point() 
plot+ theme_bw() +theme(panel.border = element_blank())

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