Is there a way to detach a common legend from plots and put it into sidebar

I would like to have a common legend for multiple subplots in a sidebar, so it is visible when scrolling. I would also like to keep the click_polisy=“hide” for all subplots linked to the legend?

Unfortunately no automated way, you’d have to create a zero width plot with the equivalent legend and add that to the sidebar.

Thanks @philippjfr: I’ll try to do with a 0-width plot!

I am not able to edit my own post for some reason, just want to correct the spelling above should be click_policy="hide"