You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to plot a Sankey diagram, and it breaks. Below is the simplest example with which I managed to reproduce the issue. Might be the same issue as #962, but I'm not using any subplot.
I reproduced the issue in JavaScript and opened plotly/plotly.js#3813 to discuss with the Plotly.js folks.
This wasn't a cause of the error, but in case it wasn't clear to you I wanted to point out that the source and target arrays are zero-based indexes into the node.label array. So a source/target index of 1 will refer to the second node, the one with label "2" in your case. And the source/target index of 5 will refer to the 6th node, but since you only have 5 nodes this will result in a new black node with no label showing up in the diagram.
Hi - we are currently trying to tidy up Plotly's public repositories to help us focus our efforts on things that will help users most. Since this issue has been sitting for several years, I'm going to close it. If it's still a concern, we'd be grateful if you could open a new issue (with a short reproducible example if appropriate) so that we can add it to our backlog. Thanks for your help - @gvwilson
I'm trying to plot a Sankey diagram, and it breaks. Below is the simplest example with which I managed to reproduce the issue. Might be the same issue as #962, but I'm not using any subplot.
When changing the order of the links, it works.
The text was updated successfully, but these errors were encountered: