-
Notifications
You must be signed in to change notification settings - Fork 47
Open
Labels
Description
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
import plotly.graph_objects as go
fig = 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 = None
plotly.io.defaults.default_height = None
janoshayjayt