thomasp85/patchwork

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

Andrzej-Andrzej opened this issue · 1 comments

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 ?

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)