Closed SaschaJust closed 5 years ago
Thanks a lot for the report, and especially for the helpful example. I've opened https://github.com/plotly/plotly.js/issues/3798 to track this in the JavaScript library.
Closed by https://github.com/plotly/plotly.js/pull/3802 and will be released in plotly.py 3.9.0
Hi @SaschaJust, could you try out the 3.9.0 release candidate and check whether this takes care of the issue for you? installation instructions at https://github.com/plotly/plotly.py/blob/release_3.9.0/README.md#installation.
Thanks!
@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.
Thanks for the great support!
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.