Disable scrolling even though there are two many legends

I am currently generating a plot with lots of different traces(categories) so there are a lot of legends to show. I have notice that the default action of Plotly is to automatically make those legends scrollable so that they can fit into one column on the image

However, then whenever I try to download image, the downloaded image can only display partial columns, not all of them, because of the existence of scroll bar I think.

So is there a way to disable the scrollable legends? It is ok that to display these legends in different columns, using more space, and I want all of them to directly shown on the page, instead of using the scrolling bar to view all of them

Thanks

not at the moment

You can try using orientation: 'h' like in plotly-mock-viewer