Skip to content
New issue

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

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

Already on GitHub? # to your account

Add metadata to plot object #145

Open
flying-sheep opened this issue Aug 13, 2019 · 0 comments
Open

Add metadata to plot object #145

flying-sheep opened this issue Aug 13, 2019 · 0 comments

Comments

@flying-sheep
Copy link
Contributor

It would be nice to be able to check programmatically if a given ggplot is a plot_grid and what layout it has.

As-is, you basically have to try if any of the elements is a GeomDrawGrob and then painstakingly reassemble the layout from geom_params$xmin/xmax/....

This would be useful to write an alternative to save_plot that infers the number of rows/columns using abovementioned metadata or information from facets.

@wilkelab wilkelab deleted a comment from Auralee22 Oct 26, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant