-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sankey node x and y positions could not be equal to 0 or np.nan #3002
Comments
Hi - we are trying to tidy up the stale issues and PRs in Plotly's public repositories so that we can focus on things that are still important to our community. Since this one has been sitting for several years, I'm going to close it; if it is still a concern, please add a comment letting us know what recent version of our software you've checked it with so that I can reopen it and add it to our backlog. Thanks for your help - @gvwilson |
Reopen it. |
Still there, no surprise, because nothing changed in aforementioned index problem |
@gvwilson Still an issue in version '5.22.0'. This is a duplicate of #2902, although this issue's author provided a nice analysis and summary. |
Consider example below
Now we want to put A2, B2, C2 before A1,B1,C1 on Y axis:
We are able to see that A1 and A2 did not change their places. That because they have 0 in x coordinates.
It is easy to fix:
We are not reloading Ys, just fixing Xs is enough.
Probably plotly.js problem on visualization, but plotly.python problem for letting this.
If we will do something like
fig.data[0].node.x = [np.nan, 1e-09, 0.5, 0.5, 1, 1]
, A1 will behave in the same way as if it would be a 0.The text was updated successfully, but these errors were encountered: