Hi there, I run an example similar to this link Static image export in Python (plotly.com)
For some reason there is image saved/created running the same exact code:
‘’’
fig.write_image(“images/fig1.png”)
‘’’
My py script still left running but noting created other than the “images” folder.
Does anyone has this problem?
Hi @ngaunguyens
It’s hard to say why the image is not been created, can you share a reproducible example?
For some reason it create the image that day I ran the function. It works now after I reboot my computer.
This was a very bizzair encounter. Thanks for your help!
Actually,
The solution should be here:
I’m following this tutorial and trying to export a plot to a static image but nothing happens, the script hangs.
I believe the problem is on this line that never produces a value.
The contents of proc_args (computed here ) are:
C:\Users\<username>\PycharmProjects\imgexport\venv\lib\site-packages\kaleido\executable\kaleido.cmd
plotly
--plotlyjs='C:\\Users\\<username>\\PycharmProjects\\imgexport\\venv\\lib\\site-packages\\plotly\\package_data\\plotly.min.js'
--mathjax='file:///C:/Users/<username>…