@sebo1, Yes, you are right! That notebook was posted 3 years ago. Here http://nbviewer.jupyter.org/github/empet/Plotly-plots/blob/master/Chord-diagram.ipynb?flush_cache=true I updated it to work with Python 3.6.4 and Plotly 3.3+ (I wrote all strings as f-strings and this simplifies very much the svg paths description). Also I defined the layout as a dict, not as an instance of go.Layout
, and so layout['shapes'].append()
still works.
1 Like