Skip to content

facet_grid() issue #525

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
moodymudskipper opened this issue Mar 13, 2025 · 1 comment
Open

facet_grid() issue #525

moodymudskipper opened this issue Mar 13, 2025 · 1 comment
Milestone

Comments

@moodymudskipper
Copy link
Collaborator

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

@moodymudskipper
Copy link
Collaborator Author

dammit it's just not there at all...

@moodymudskipper moodymudskipper added this to the 1.2.0 milestone Mar 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant