Thanks for working on this helpful package again. I guess very likely similar to #12, but it seems to appear for our case:
- kaleido: 1.0.0, plotly: 6.2.0
- macos 15.6 (ARM64)
- Python 3.10.18
importplotly.graph_objectsasgofig=go.Figure(go.Bar(x=["A", "B"], y=[1, 2]))
fig.update_layout(width=1200, height=300)
fig.write_image("out.svg")Saved image (obviously not 1200:300):

And the following as suggested in #12 seems to fix:
plotly.io.defaults.default_width=Noneplotly.io.defaults.default_height=None
Thanks for working on this helpful package again. I guess very likely similar to #12, but it seems to appear for our case:
Saved image (obviously not 1200:300):
And the following as suggested in #12 seems to fix: