Download as png is cutting long legends

The download as PNG is cutting long legends what can I do to fix this? thank you for your help
newplot (36)

This is how the normal plot look like


I’m having the same issue as this (as the pic shows). I’ve played around with legend location and margin widths but the same thing happens even if the legend is in the middle of the plotting area.
It renders fine in my dash application but then when I hit the download to png button is cuts off the end of the legend.

Any help would be much appreciated!

1 Like

Did either of y’all ever find a solution to this? I’m having the same issue with svg exports.