So I have a plot that works fine, but the very same code, data and layout produce this when format = png:
and this, when format = svg:
How come the legend is getting clipped for PNG but not for SVG?
EDIT: Another example:
As you can see the second part gets clipped in SVG as well.