Write_image seems to clip image

When I try to use write_image to create a static image, it seems like the image is clipped.

I am using a layout with width = 1500, height = 1000

Can I control the size of the static image?

Hi @nilanjenator,

You can set the dimensions of the output image with the width/height arguments to plotly.io.write_image. If that’s not helpful, could you share an example that shows the behavior you’re seeing?


I had the same issue. But after I manually set the width for the plot to be saved, the image is intact and not clipped. Not sure if it’s relevant to your problem since it seems that you have already set the width manually for your plot.