Skip to content

Boxplot with theme_void() in 4.0.0 gets a background #6625

@daattali

Description

@daattali

I discovered the bug in daattali/ggExtra#182 and was sure it was my fault! But looks like it might not be? @thomasp85 I wasn't crazy :)

Run the following code in ggplot 3.5.1 and 4.0.0:

ggplot(mtcars, aes(x = factor(cyl), y = mpg)) +
    geom_boxplot(alpha = 0.5) + theme_void()

These are the plots you get:

Image Image

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