-
-
Notifications
You must be signed in to change notification settings - Fork 404
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
Uninformative error when creating Chord diagram #2581
Comments
Thanks for filing this issue, that would indeed be helpful. It's not quite clear to me why loop edges shouldn't be supported so this might in fact be a bug but for now I've labeled the issue as an enhancement request. |
Would you happen to have a small example to reproduce this? |
Nevermind, this is sufficient: hv.Chord([('A', 'B', 2), ('B', 'A', 3), ('A', 'A', 2)]) |
Is it possible to support loop edges in these charts? It would be nice to have them like on this plotly example. |
@gmontamat It will be once the PR above is merged. |
@philippjfr great news! Thanks. |
@garfield2020 Could you provide a full traceback, and preferably a reproducible example? |
Are there any negative values in your |
You should call |
Perfect! thank you both |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
I was trying to create a Chord diagram based on https://github.com/ioam/holoviews/blob/master/examples/gallery/demos/bokeh/route_chord.ipynb
I assumed it should work on my dataframes since they were very similar to the ones in the examples. I got the error:
The actual issue was that I had loop edges (connecting nodes to themselves) which doesn't happen on the sample airport routes dataset. Removing those loops fixed the issue but a more clear error message would have saved me a couple hours.
The text was updated successfully, but these errors were encountered: