79698583

Date: 2025-07-11 16:09:18
Score: 0.5
Natty:
Report link

Solved in the newest versions of kaleido and plotly (kaleido 1.0.0 and plotly 6.2.0), but figure sizing is broken now. If you were using smth along the lines of

fig = go.Figure(width = 1920, height = 1080)
fig.write_image('fig.png')

Now you'll have to transition to

fig = go.Figure(width = 1920, height = 1080)
fig.write_image('fig.png', width = figure.layout.width, height = fig.layout.height)
Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Konstantin Z