Closed
Description
I think that strip.switch.pad.grid or strip.switch.pad.wrap are intended to only modify the plot where facet labels are switched.
However if strip.placement = "outside", the position of the labels is modifed by strip.switch.pad.*
library(tidyverse)
library(palmerpenguins)
p <- penguins %>%
ggplot() +
geom_point(aes(flipper_length_mm, body_mass_g)) +
facet_grid(vars(sex), vars(species))
p
p +
theme(strip.placement = "outside") +
theme(strip.switch.pad.grid = unit(7.5, "pt"))
Metadata
Metadata
Assignees
Labels
No labels