✊🏿 Black Lives Matter. Please consider donating to Black Girls Code today.
🐇 Announcing Dash VTK for 3d simulation graphics. Check out the March webinar.

Blank graph using Plotly in Notebook

Hi all, i’m very new with plotly & python.
I’m trying to follow this example:

import plotly.graph_objects as go
fig = go.Figure(data=go.Bar(y=[2, 3, 1]))
fig.show()

My inline figure is blank in Jupyter. I did find that the graph will produce if I use the fig.write_html(‘graph.html’,auto_open=True).

Can someone please help why the graphs won’t display inside Jupyter?

I have:
python = 3.7.6
plotly = 4.6.0
notebook = 6.0.3
ipywidgets = 7.5.1