Plots not showing up in Jupyter Lab (Plotly 3.0)


I can simply not see anything plotted in Jupyter Lab. When I use init_notebook_mode, it shows a blank space for plots but the plot is still not shown.

from plotly.offline import plot, iplot
import plotly.graph_objs as go


“data”: [go.Bar(x=keys, y=values)],
“layout”: go.Layout(title=“Sample Bar Chart”)
This simply gives no output.


Hey @shreyasbapat

try adding plotly.offline.init_notebook_mode(connected=True)


Hi! I am sorry. It’s solved. I installed the plotly extension for Jupyter Lab