Closed
Description
By default, ggplot2 reasonably clips long facet labels. While this can be turned off by manipulating the underlying grobs, it would be nice for some circumstances if you could set clip = "off"
in a related ggplot2 function, as you can in the coord_*()
functions.
library(ggplot2)
iris$Species <- factor(
iris$Species,
labels = c(
"Here is a pretty long label that might not make it, if we're being totally honest",
"here's a shorter one",
"shorter yet"
)
)
ggplot(iris, aes(Sepal.Length, Sepal.Width)) +
geom_point() +
facet_wrap(vars(Species))
Created on 2019-12-20 by the reprex package (v0.3.0)