I’m a jupyter/plotly newbie. I tried executing the following snippet (found in a Medium article) in my 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”
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:
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:
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']