Filled chord diagram ValueError


I have been following some tutorials on completing the filled chord diagram with plotly in python e.g. Filled Chord Diagram | Python/v3 | Plotly and Jupyter Notebook Viewer

They are great and I have been able to make some plots. However, now I am doing a plot with a larger number of values and I am getting one of the ValueErrors that is coded in there ‘ValueError: incorrect angle coordinates for ribbon’. I would really appreciate any advice on how I might resolve this error to enable me to create the plots with the larger number of values.

Thank you in advance