plotly / plotly/Kaleido

"Resorting to unclean kill browser." when using fig.write_image()

Open
#430 9 comments 2 reactions 1 assignee View on GitHub

@camdecoster is already working on this.

Since May 6, 2026.

Dominant language
Python
Stars
498
Forks
62
Avg merge
1d 11h
Merged PRs (30d)
2

Description

Using:
MacOS
uv for package management
Python 3.13.1
Kaleido 1.2.0
nbformat 5.10.4
choreographer 1.2.1
plotly 6.5.2

I have recently moved to a new computer (previously I was using Windows11, Plotly 6.0.0 and Kaleido 0.2.1) and now writing images is taking forever and throwing the "Resorting to unclean kill browser." message

For instance, this simple script:

import plotly.graph_objects as go
fig = go.Figure()
fig.write_image('aaa.png')

Output: Resorting to unclean kill browser.

is taking around 9 seconds.

The images are still being produced and saved correctly but the times are too long. Is there a fix?

Thank you

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.