Hi!
I had installed kaleido and plotly to the ubuntu server according instructions. But the error occurred:
Traceback (most recent call last):
File "kt.py", line 1, in
from kaleido.scopes.plotly import PlotlyScope
ModuleNotFoundError: No module named 'kaleido'
code is:
from kaleido.scopes.plotly import PlotlyScope
import plotly.graph_objects as go
scope = PlotlyScope()
fig = go.Figure(data=[go.Scatter(y=[1, 3, 2])])
with open("figure.png", "wb") as f:
f.write(scope.transform(fig, format="png"))
what problem is?
how could I correct it?
Hi!
I had installed kaleido and plotly to the ubuntu server according instructions. But the error occurred:
Traceback (most recent call last):
File "kt.py", line 1, in
from kaleido.scopes.plotly import PlotlyScope
ModuleNotFoundError: No module named 'kaleido'
code is:
from kaleido.scopes.plotly import PlotlyScope
import plotly.graph_objects as go
scope = PlotlyScope()
fig = go.Figure(data=[go.Scatter(y=[1, 3, 2])])
with open("figure.png", "wb") as f:
f.write(scope.transform(fig, format="png"))
what problem is?
how could I correct it?