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']