Nicholas Landry

Results 49 issues of Nicholas Landry

If we remove the for-loop in the function that draws the hypergraph nodes with `scatter` and instead pass iterables into the scatter function, it could be faster. Also, if we...

improve

No worries if you don't want to update to Python 3, but I made a few tweaks so that it would run with Python 3 (mostly print statements)

This PR does the following: * Removes `draw_dihypergraph` and moves its contents to `draw_bipartite`. * The `draw_bipartite` now handles `Hypergraph` and `DiHypergraph` objects. * Added the `bipartite_spring_layout` position function.

Updated the following: * The "Using XGI" page * Added missing documentation for the Encapsulation DAG conversion module * Added links to the JOSS paper * Updated the list for...

Minimal working example: ```python import xgi H = xgi.Hypergraph([[1, 2, 3]]) nodal_property = [-1, 0, 1] xgi.draw(H, node_size=nodal_property, rescale_sizes=True) ``` gives the error `ValueError: node_size cannot contain negative values.` We...

improve

With PR #491, drawing edges as convex hulls is now an option of `draw`. I'm wondering, however, if there is a case where we don't want this behavior. I'm specifically...

viz

A user reached out and asked if we could allow empty edges. I added the `empty_edges` as an optional keyword to opt-in to this behavior.

It should be possible to draw nodes without supplying a hypergraph, since if you have the node IDs and corresponding positions, you can draw the nodes. If the user provides...

improve

https://github.com/pnnl/GENTTSV/tree/master/xgi and add license.

new feature

There was discussion that perhaps we could switch to the PyData Sphinx theme (https://pydata-sphinx-theme.readthedocs.io/en/stable/index.html).

documentation