rm_strips | R Documentation |
Remove facet strips from a ggplot
rm_strips(axis = "xy")
axis |
Which axis to remove facets along? Either of "x", "y" or "xy". |
data <- tibble::tibble(x = 1:3, y = 1, z = 3:1) ggplot2::ggplot(data, ggplot2::aes(x = x, y = x)) + ggplot2::geom_line() + ggplot2::facet_grid(. ~ y) + rm_strips()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.