-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Description
I'm japanese univercity student.
suddenly plotly can't show graphs.
error code"Javascript Error: Cannot set properties of null (setting '0')"
But strangely,
import plotly.express as px fig = px.bar(x=["a", "b", "c"], y=[1, 3, 2]) fig.show()
this code can show graph.
on the other hand,
`import plotly.graph_objects as go
import pandas as pd
z_data = pd.read_csv('https://raw.githubusercontent.com/plotly/datasets/master/api_docs/mt_bruno_elevation.csv')
fig = go.Figure(data=[go.Surface(z=z_data.values)])
fig.update_layout(title='Mt Bruno Elevation', autosize=False,
width=500, height=500,
margin=dict(l=65, r=50, b=65, t=90))
fig.show()`
this code can't show graph.
I can't how to solve this error!
Development environment
windows 10
jupyter lab 3.2.1
plotly 5.5.0
ipywidgets 7.6.5