Closed
Description
In plotly/plotly.py#1536, @adurivault discovered a combination of Sankey links that causes Plotly.js to freeze up.
CodePen: https://codepen.io/jonmmease/pen/OGGPjL?editors=1010
var fig = {
"data": [
{
"link": {
"source": [
2,
2,
4,
2,
3,
0,
1,
0
],
"target": [
0,
4,
2,
3,
2,
4,
2,
1
],
"value": [
1,
1,
1,
1,
1,
1,
1,
1
]
},
"node": {
"label": [
"A",
"B",
"C",
"D",
"E"
]
},
"type": "sankey"
}
],
"layout": {}
}
Plotly.newPlot('myDiv', fig, {showSendToCloud: true});
Interestingly, if any single link is commented out, then the diagram renders successfully.