Wraps each plot in a single-panel ggh4x::facet_wrap2 so that a
coloured strip label appears above the panel.
See also
Other plot formatting:
fmt_axis(),
fmt_bg(),
fmt_boxplot(),
fmt_com(),
fmt_expand(),
fmt_his(),
fmt_legend(),
fmt_plot(),
fmt_point(),
fmt_ref(),
fmt_scale(),
fmt_tag()
Examples
library(ggplot2)
p <- ggplot(iris, aes(Sepal.Length, Sepal.Width)) + geom_point()
fmt_strip(p, label = "Iris Data", label_fill = "steelblue")
