Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

nxa.draw_networkx_edges #20

Open
ycjing opened this issue Nov 14, 2020 · 1 comment
Open

nxa.draw_networkx_edges #20

ycjing opened this issue Nov 14, 2020 · 1 comment

Comments

@ycjing
Copy link

ycjing commented Nov 14, 2020

Thanks for the great work! I would like to use nxa.draw_networkx_edges to draw edges with a clorbar, like the graph at https://stackoverflow.com/questions/22124793/colorbar-for-edges-in-networkx. However, I got the following error:

SchemaValidationError: Invalid specification
altair.vegalite.v4.schema.core.Scale, validating 'additionalProperties'
Additional properties are not allowed ('legend' was unexpected)

I would greatly appreciate it if you could help. Thank you!

Best,
Yongcheng

@T-Flet
Copy link

T-Flet commented Jun 8, 2024

This issue is fixed in my fork (which was originally made precisely to have a version with fixes from issues and PRs).

The fork has now been detached and released as its own library, altair-nx, because the original has been inactive since 2020 and because the fork diverged from it considerably after a full code-base rework and the implementation of new features (e.g. curved edges, self loops, and much greater customisability).

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants