-
Notifications
You must be signed in to change notification settings - Fork 36
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Program freezes when trying to save plotly.express.box to a PNG via write_image #195
Comments
I have the same issue. While the code below would earlier produce png, svg, or html based on the extension, it is going into an endless execution of the cell and producing no output even after three hours.
I am using plotly 5.8.0 and kaleido 0.2.1 save_test.ipynb.-.Experiments.-.Visual.Studio.Code.2022-05-24.10-48-12_Trim.mp4 |
Facing the same issue with plotly 5.12.0 and kaleido 0.2.1 on Windows 11. |
Same issue on Windows 10 in Jupyter Notebook, plotly 5.13.0 and kaleido 0.2.1 |
Downgrading to kaleido 0.1.0post1 fixted the issue : |
I am facing the same problem the code I have generating word report based on csv data, creates sankey.png and attach it to word doc. It work fine until I replaced my CPU. My previous CPU was Ryzen5 1500pro and worked fine. New Ryzen 9 5900 hangs (or rather this small piece of code (image_path = "sankey_chart_full.png" fig.write_image(image_path) ) during png saving (other formats not working either). I can export sankey as html only. It is definitely follows CPU, any idea what it is, CPU microcode? Edit: The problem is related to OS. I uses Win10 which was installed on my old R5 1500 and replacing to new CPU is causing unknown problem by now to export data as png or other format static image format. The same new CPU + the same script, but different OS (Ubuntu) no problem found. It looks like I need to refresh my Win installation. |
I had a similar problem on Ubuntu 20.04.6, for both png and svg. Versions were
Updated plotly to I work on a notebook, sometimes it still freezes, and restarting the notebook fixes it. Really strange bug. |
Thanks for your interest in Kaleido. We are currently working on an overhaul that might address your issue - we hope to have news in a few weeks and will post an update then. Thanks - @gvwilson |
Switching to 5.22.0 plotly and 0.1.0.post1 kaleido fixed for me |
I get this issue where the program freezes when trying to save a
plotly.express.box
viawrite_image
into a .PNG file.The strange thing is it seems to freeze the whole program without throwing an error. All steps work fine up to the last line above.
I am using the following:
plotly==5.8.0
kaleido==0.2.1
The text was updated successfully, but these errors were encountered: