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

Collect guides when legend.position="bottom" - duplicated legend #321

Open
Andrzej-Andrzej opened this issue Feb 4, 2023 · 1 comment
Open
Labels
reprex needs a minimal reproducible example

Comments

@Andrzej-Andrzej
Copy link

Hi,
Is it still not working in patchwork ?
My code:
p1 + p2 + p3 + plot_layout(ncol = 3, guides = "collect") & theme(legend.position = 'bottom')

I still have got two legends at the bottom of the plot. How to get rid of the redundant one ?

@thomasp85
Copy link
Owner

Can you please provide a reprex? It should work fine so my guess is that your two legends are not exactly equivalent (but might look so)

@thomasp85 thomasp85 added the reprex needs a minimal reproducible example label Aug 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
reprex needs a minimal reproducible example
Projects
None yet
Development

No branches or pull requests

2 participants