-
Notifications
You must be signed in to change notification settings - Fork 37
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
Py3lex library is not working properly #19
Comments
Hi @ Alex1235321, fixing the detail in the draw_network part is necessary. It has to do with the updates in both networkx and Matplotlib. ping you here if i can fix it |
I have matplotlib version 3.6.0.rc1 and networkX 2.8.8. if you are talking about it, if no, could you explain more specifically what is required of me so that I can give an opportunity to help me. |
Hey @Alex1235321, that is not exactly what I meant, if you take some time and read the code (as one should), you'd realize that the code here was build-inspired in the previous NetworkX versions. For the undirected version, there is a local fix here(my end only atm) https://github.com/jsnagai/py3plex/tree/master ER_multilayer = random_generators.random_multilayer_ER(200,2,0.09,directed=False) For the directed case, this seems a bit more cumbersome to update perhaps one can take a look on it Note that I'm just a community-sided contributor and the more advanced questions and also work was done by @SkBlaz and collabs. Hope we can keep that cool library updated, Cheers |
Hey, thanks for noticing this. If your fix for undir in general, feel free to PR, will check dir case asap (unless you get to it first of course - as mentioned, update should be straightforward but cumbersome) |
@jsnagai added you as a collaborator, should you take steps before I get to that |
tysm SkBlaz, im a bit busy with other projects on my Ph.D. but I can try to check that as soon as I have some spare time. Best |
Appreciate it!
…On Wed, 31 May 2023, 11:38 James Nagai, ***@***.***> wrote:
tysm SkBlaz, im a bit busy with other projects on my Ph.D. but I can try
to check that as soon as I have some spare time.
Best
—
Reply to this email directly, view it on GitHub
<#19 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACMSERCTRWXT2VGFZ5RXGADXI4GP5ANCNFSM6AAAAAAYCJA5OA>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
@Alex1235321 -> could you please retry with py3plex==0.95 -> current builds most likely failed due to nx's breaking changes that are a separate issue alltogether |
I created a new project in Pycharm, after which I installed the Py3plex library and the corresponding libraries from the requirements.txt file, after which everything was fine at first glance, I decided to run the code from this link:
https://py3plex.readthedocs.io/en/latest/learning.html
But as a result, I got a completely different result:
https://ibb.co/tcLtWQv
and I'm not talking about interlayer edges, but about the fact that edges were not rendered in layers, an example of a smaller multilayer graph:
https://ibb.co/FzM67bC
Maybe someone knows what is the reason why the visualization does not work correctly?
The text was updated successfully, but these errors were encountered: