i'm just trying out plotly/dash and when i write the below code nothing gets displayed.. it's just a blank box. I've tried installing nodejs (i'm using anaconda) so that i can try and install some extension ' jupyter labextension install @jupyterlab/plotly-extension' but this does not work for some reason i cannot even install nodejs.
import dash
import dash_core_components as dcc
import dash_html_components as html
import plotly.offline as pyo
import plotly.graph_objs as go
# Set notebook mode to work in offline
pyo.init_notebook_mode()
#init_notebook_mode(connected=True)
# Create traces
trace0 = go.Scatter(
x=[1, 2, 3, 4],
y=[10, 15, 13, 17]
)
trace1 = go.Scatter(
x=[1, 2, 3, 4],
y=[16, 5, 11, 9]
)
# Fill out data with our traces
data = [trace0, trace1]
layout=go.Layout(barmode='stack')
fig=go.Figure(data=data, layout=layout)
# Plot it and save as basic-line.html
pyo.iplot(fig, filename = 'basic-line')
what else can i do to help view my graph?

iplot()could be the problem.