-
Notifications
You must be signed in to change notification settings - Fork 51
Closed
Labels
Description
Hey, I'm trying to convert figures into static images but it refuses to work on windows 10. I am using this script for testing -
import plotly.graph_objects as go
import numpy as np
import plotly.io as pio
np.random.seed(1)
N = 100
x = np.random.rand(N)
y = np.random.rand(N)
colors = np.random.rand(N)
sz = np.random.rand(N) * 30
fig = go.Figure()
fig.add_trace(go.Scatter(
x=x,
y=y,
mode="markers",
marker=go.scatter.Marker(
size=sz,
color=colors,
opacity=0.6,
colorscale="Viridis"
)
))
fig.write_image('test.png')
fig.show()
It just hangs forever. I tried with both kaleido and orca, same thing. I tried to find out where it was hanging using pycharm and it seems to be this line -
| startup_response_string = self._proc.stdout.readline().decode('utf-8') |
If you require anymore info let me know.
Reactions are currently unavailable