Open junjunlab opened 3 months ago
Arguably, it does work as documented in strip.switch.pad.wrap
(emphasis mine):
space between strips and axes when strips are switched (unit); inherits from spacing.
So if there is no axis, there is no padding.
I can imagine a need for spacing between the panel and the strip, regardless of the presence of an axis.
But I think that should probably be a separate theme element from strip.switch.pad.wrap
and apply both to facet_wrap()
and facet_grid()
.
Slightly off-topic; I don't know why there is a separate wrap/grid argument for the padding. You can't ever build a plot with both wrap and grid facetting, so they're mutually exclusive.
I got it, the padding only works when presence of an axis. Thanks, maybe it's a little need for some peole.
strip.switch.pad.wrap doesn't work when strip.placement = "outside" and strip.position = "bottom":
strip will only be added on one panel when strip.position = "bottom/left":
It doesn't work when strip.position = "right":