I am trying to run the tree plot demo here:
The section on creating the traces fails to run.
lines = go.Scatter(x=Xe,
y=Ye,
mode='lines',
line=dict(color='rgb(210,210,210)', width=1),
hoverinfo='none'
)
dots = go.Scatter(x=Xn,
y=Yn,
mode='markers',
name='',
marker=dict(symbol='dot',
size=18,
color='#6175c1', #'#DB4551',
line=dict(color='rgb(50,50,50)', width=1)
),
text=labels,
hoverinfo='text',
opacity=0.8
)
ValueError Traceback (most recent call last)
<ipython-input-28-95c0866b4045> in <module>
21 text=labels,
22 hoverinfo='text',
---> 23 opacity=0.8
24 )
25
ValueError:
Invalid value of type 'builtins.str' received for the 'symbol' property of scatter.marker
Received value: 'dot'
This code was lifted straight from the example and run in a Jupyter notebook with everything installed, configured and present - ie ff, igraph .
The cells before it that setup the arrays is running fine and all the vars check out.
If someone in the forum or Plotly knows the answer, that would be great.