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
today I ran into an issue using sankey diagrams in combination with other plots.
This worked just fine in the past, but when I reran notebooks today all plots containing sankeys were broken.
Observed Behavior
I dug a little deeper and found out that the order of the traces affects the success of the plot.
Having sankey as first entry in the Figure.data list works just fine—otherwise the plot breaks. The sankey is not rendered at all and the coordinates of the other plots are off.
@jonmmease, this now works perfectly fine in plotly.js and plotly.py (tested with 3.9.0rc1).
Side note: upgrading to 3.9.0 is not required as there were no changes required in the python library and plotly.py loads plotly.latest.min.js, anyways.
Hi,
today I ran into an issue using sankey diagrams in combination with other plots.
This worked just fine in the past, but when I reran notebooks today all plots containing sankeys were broken.
Observed Behavior
I dug a little deeper and found out that the order of the traces affects the success of the plot.
Having sankey as first entry in the
Figure.data
list works just fine—otherwise the plot breaks. The sankey is not rendered at all and the coordinates of the other plots are off.Reproduction
Then plotting it like this will work:
Using a different order will fail to render the sankey and throw of the coordinates of the scatter plot.
I'm assuming this is a bug, as this has worked before just fine.
I'm not sure whether this is an issue with
plotly.py
orplotly.js
. Apologies in advance, in case this is the wrong tracker.The text was updated successfully, but these errors were encountered: