ggh4x icon indicating copy to clipboard operation
ggh4x copied to clipboard

facet_grid with remove_labels removes labels but leaves the space between the panels

Open Ari04T opened this issue 2 months ago • 2 comments

Hello

Basically what the title says. facet_grid2 by the way, sorry about the mistake in the title.

mpg %>% 
  ggplot(aes(cyl, class)) +
  geom_point() +
  facet_grid2(. ~ manufacturer, axes = "all", remove_labels = "y")

This is the final result. The labels are removed but the space remains.

Screenshot 2024-05-07 063604

I'm currently using ggplot 3.5.1 with ggh4x 0.2.8.9000

Thanks!

Ari04T avatar May 07 '24 10:05 Ari04T