Skip to content
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

[Feature request] Automatic legend extraction for compound plots with a shared legend #140

Open
apcamargo opened this issue Jul 12, 2019 · 2 comments

Comments

@apcamargo
Copy link

If the user wants to draw a compound plot with a shared legend, it needs to manually extracted the legend and add it to the compound figure. A nicer interface would be to add an option to plot_grid to request a shared legend (akin to the ggarrange function of ggpubr).

@clauswilke
Copy link
Contributor

Is there anything wrong with using ggpubr::ggarrange()? It's just a wrapper around plot_grid() anyways.

@apcamargo
Copy link
Author

No, no problem at all. I didn't check the code of ggarrange, so I didn't know it uses plot_grid.

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

No branches or pull requests

2 participants