Black Lives Matter. Please consider donating to Campaign Zero's mission of ending police violence in America.
https://www.joincampaignzero.org

Can't get interactive graph in Jupyter notebook

I’m a jupyter/plotly newbie. I tried executing the following snippet (found in a Medium article) in my notebook:

%matplotlib notebook
import plotly.graph_objects as go
fig = go.Figure(
data=[go.Bar(y=[2, 1, 3])],
layout_title_text=“A Figure Displayed with the ‘svg’ Renderer”
)
fig.show(renderer=“svg”)

However, when I run it the graph doesn’t render. What am I doing wrong?

Also, no errors are generated. Just no graph renders…

Actually, after a while, I did get the following error message:

ValueError:
For some reason plotly.py was unable to communicate with the
local orca server process, even though the server process seems to be running.

Please review the process and connection information below:

orca status

state: running
executable: //anaconda3/bin/orca
version: 1.2.1
port: 60394
pid: 63912
command: ['//anaconda3/bin/orca', 'serve', '-p', '60394', '--plotly', '//anaconda3/lib/python3.7/site-packages/plotly/package_data/plotly.min.js', '--graph-only', '--mathjax', 'https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/MathJax.js']