Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upExample doesn't seem to work - Uncaught ReferenceError #10
Comments
|
Hi, and I'm sorry you're having trouble! I can't think of anything offhand that might cause this but I'll try to replicate it. Are you able to run any of the non-express Plotly.py examples from https://plot.ly/python? |
|
Nope, they don't! I tried the following: import plotly
import plotly.graph_objs as go
plotly.offline.init_notebook_mode(connected=True)
plotly.offline.iplot({
"data": [go.Scatter(x=[1, 2, 3, 4], y=[4, 3, 2, 1])],
"layout": go.Layout(title="hello world")
})It throws the same error... |
|
Hmm OK, that seems to be a deeper problem which I'll have to dig into with @jonmmease |
|
Hi @dhhagan, Just to clarify, are you trying this in the classic notebook (not jupyterlab?). I'm not familiar with the This kind of error does crop up when working in non-standard notebook environments like Google Colab though. |
|
I'm getting a similar error using jupyterlab - window is set but nothing to rendered while it works on the classic notebook. I have done everything under the instructions listed here Would you be able to help? |
|
I am experiencing the same issue on Python 3.7.3. appdirs 1.4.3 |
|
Same problem |
|
And you’ve installed the jupterlab extension as suggested in the readme? |
|
I reinstalled everything now the error is the following. The online version works the offline comes out with no data 'plot' and nothing in 'iplot' TypeError: Cannot read property 'length' of undefined |
|
Hmm. What does |
|
'3.10.0' |

Formed in 2009, the Archive Team (not to be confused with the archive.org Archive-It Team) is a rogue archivist collective dedicated to saving copies of rapidly dying or deleted websites for the sake of history and digital heritage. The group is 100% composed of volunteers and interested parties, and has expanded into a large amount of related projects for saving online and digital history.


After the announcement, I had to try the new/cool thing - however, I can't seem to get the basic Iris scatter plot example to render. The console tells me it's the following:
I am running in the jupyter/scipy-notebook docker container with a requirement for
jupyter_express.It seems like it sets/draws the window, but nothing is rendered - let me know if more information is needed.