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

Changing plot size changes node aspect ratio in xgi.draw() #137

Closed
nwlandry opened this issue Jul 16, 2022 · 0 comments · Fixed by #142
Closed

Changing plot size changes node aspect ratio in xgi.draw() #137

nwlandry opened this issue Jul 16, 2022 · 0 comments · Fixed by #142

Comments

@nwlandry
Copy link
Collaborator

No description provided.

@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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant