Skip to content

Conversation

Yunuuuu
Copy link
Contributor

@Yunuuuu Yunuuuu commented Apr 9, 2025

fix #6406

This PR just make sure the panels input for Facet$draw_panel follows the shape:

It'll be a list of gTree object for each panel: each gTree object contains 3 children for Coord$render_fg, Coord$render_bg and another gTree of Facet$draw_back, all layer grobs, and Facet$draw_front

@Yunuuuu
Copy link
Contributor Author

Yunuuuu commented Apr 9, 2025

I'm curious: why doesn't get_layer_grob() return the grob directly, but instead returns a list with just one element?

@teunbrand
Copy link
Collaborator

Closing this in favour of #6421.

@teunbrand teunbrand closed this May 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Feature request: make the input panels of Facet$draw_panels() predictable

2 participants