Skip to content
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

Color by individual edges #140

Closed
nwlandry opened this issue Jul 21, 2022 · 1 comment
Closed

Color by individual edges #140

nwlandry opened this issue Jul 21, 2022 · 1 comment
Labels
new feature New feature or request

Comments

@nwlandry
Copy link
Collaborator

It would be nice to have a way to override the color assigned to a hyperedge via some other parameter. (From discussion in #139)

@nwlandry nwlandry added the new feature New feature or request label Jul 21, 2022
@nwlandry nwlandry mentioned this issue Jul 22, 2022
nwlandry added a commit that referenced this issue Jul 26, 2022
This fixes #137 and #140. Among other things, user can specify
* node size, node line color, node face color, node line width, edge line width, and edge color as dictionaries, iterables, or strings.
* edge face color as a colormap, dictionary, iterable or string.

The `draw` function is now modularized into `draw_xgi_nodes`, `draw_xgi_hyperedges`, and `draw_xgi_complexes` as well as a few helper functions. In addition, nodes are now drawn with `scatter` not `Circle` objects.
@nwlandry
Copy link
Collaborator Author

Fixed with #142

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new feature New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant