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
Not drawing the hypergraph #33
Comments
This is a warning that we will address in a future release. Is the warning preventing you from running the tutorial? |
Exactly. I get this warning and after that the plot is not shown |
What version of numpy are you using? |
We will push an update shortly that should fix this. |
An update to the drawing library has been pushed. The issue you reported should not have prevented the hypergraph from showing. Try pulling and let us know what happens. |
ok. i will check out the new version |
I used anaconda and worked. Maybe something is going wrong with my packages. I have also another question. Is it able to give custom labels to the edges or the nodes? |
Hi @ChrisGeorgakidis , |
I have modified the python package in order to do that. If you want I can send you the function in order to integrate it into the master. If it is possible to add custom labels to the nodes, it would be great
…On 25 Jun 2020, 10:10 PM +0300, Brenda Praggastis ***@***.***>, wrote:
Hi @ChrisGeorgakidis ,
At present the displayed label is the uid of the Entity (Node or Edge) being displayed. Being able to change that might be a good feature. I will add that to our list of TODOs.
Thanks
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
You should be able to make a pull request to the develop branch on pnnl/HyperNetX. I will review it with our developers and if it doesn't break anything we will see about integrating it into our code. Thanks! |
Merge in HYP/hypernetx from bugfix/entity-from-dict-tuple-keys to develop * commit 'c80f303a5761cbff5a85854399b7df48243dc80e': correctly initialize Entity from a dict of iterables when keys/edge names are tuples (resolves error thrown in Tutorial 3 [HYP-286])
I tried the programs in the tutorial and also the code of the guy that reported the other issue and i get the following error:
/usr/local/lib/python3.7/site-packages/hypernetx/drawing/rubber_band.py:97: FutureWarning: arrays to stack must be passed as a "sequence" type such as list or tuple. Support for non-sequence iterables such as generators is deprecated as of NumPy 1.16 and will raise an error in the future.
I don't know if the problem is that I use python3
The text was updated successfully, but these errors were encountered: