-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Milestone
Description
facet_wrap works ok, not facet_grid, isn't this tested ?
library(ggplot2)
plt <- ggplot(data = mpg) +
geom_point(mapping = aes(x = displ, y = hwy)) +
facet_grid(drv ~ cyl)
constructive::construct(plt, data = list(data = mpg))
#> {constructive} couldn't create code that reproduces perfectly the input
#> ℹ Call `construct_issues()` to inspect the last issues
#> data |>
#> ggplot2::ggplot() +
#> ggplot2::geom_point(mapping = ggplot2::aes(displ, hwy)) +
#> constructive::.env(
#> "0x10f3033c0",
#> parents = "empty",
#> class = c("FacetGrid", "Facet", "ggproto", "gg")
#> )
Created on 2025-03-13 with reprex v2.1.0
Metadata
Metadata
Assignees
Labels
No labels