Facet size = "variable" not working?
Ari04T opened this issue · comments
Ari commented
Hello!
I tried to use the code provided on Facets to get some variable facet size but it doesn't seem to be working. I assume this may have something to do with the latest version of ggplot? Or am I doing something wrong? I'm currently working with latest ggh4x (0.2.7.9000) and ggplot2 (3.4.4.9000).
ggplot(df, aes(x, y)) +
geom_point() +
theme(strip.text.y.left = element_text(angle = 0),
strip.placement = "outside",
plot.title.position = "plot") +
facet_grid2(long + short ~ ., switch = "y",
strip = strip_vanilla(size = "variable")) +
ggtitle('size = "variable"')
Teun van den Brand commented
Hi there, thanks for the report. I can indeed reproduce the issue.
Teun van den Brand commented
Fixed by cfbf4dc