nx_altair icon indicating copy to clipboard operation
nx_altair copied to clipboard

nxa.draw_networkx_edges

Open ycjing opened this issue 5 years ago • 1 comments

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

ycjing avatar Nov 14 '20 19:11 ycjing

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).

T-Flet avatar Jun 08 '24 13:06 T-Flet