Cannot run my custome Kaleido #351
Copy link
Copy link
Open
Labels
Description
I am running the following code in kaleido==1.0.0, plotly==6.2.0, Python 3.12, but it hangs in the process of writing the figure (i.e., write_fig) and does not pass anymore (without any error):
import plotly.graph_objects as go
from kaleido import Kaleido
import asyncio
fig = go.Figure(data=go.Bar(y=[2, 3, 1]))
kaleido_custom = Kaleido()
asyncio.run(kaleido_custom.write_fig(fig, path="test.pdf", opts={"format": "pdf"}))
print("done")Reactions are currently unavailable
Activity
ldowen commentedon Aug 5, 2025
I am experiencing this as well. Is there any update or workaround? It has made plotly unusable for me.
gvwilson commentedon Aug 7, 2025
note: code needs
await- error messages in upcoming release will make this clearer