-
-
Notifications
You must be signed in to change notification settings - Fork 130
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
asteroid_plot: show_edges #167
Comments
Hey @avivko I'll check this out ASAP. Do you have a PDB code for the example? |
No hurry @a-r-j :) I used the PDB ID "6REW".
|
Ah, I dug into this. The problem is that plotly doesn't support multiple colours for a single line trace. I've worked around this before here by making a new trace for each line segment. If you wanted to have a go at making the change I'd be super happy to support. Alternatively, you can do what the function is doing under the hood and use the k-hop subgraph function and plot that with the normal plotting function |
Describe the bug
Using show_edges=True as an argument raises an error because of the formatting of the colo(u)rs for the scatter plot.
To Reproduce
For example:
Expected behavior
Having edges in the plot would be nice :)
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: