shahinrostami / plotapi

Engaging visualisations, made easy.
https://plotapi.com
MIT License
268 stars 17 forks source link

No module named chord #12

Closed DSJourney closed 4 years ago

DSJourney commented 4 years ago

Hi,

I came across your chord package (which seems very cool by the way), and trying to use it I could not figure out how to make it work. Since I am quite new to the whole Python scene this might be a mistake from my part but after running:

Jupyter Lab does not recognize the module. I add two pictures below in case you can guide me on the possible steps I could give? Is there another way to set up the package?

Thanks a lot!

Screenshot 2020-06-25 at 07 55 58 Screenshot 2020-06-25 at 07 56 07
DSJourney commented 4 years ago

Forget about my post, I made a mistake with my virtual environments. It is fine!

shahinrostami commented 4 years ago

I'm glad you resolved it @DSJourney ! I was actually just trying to reproduce your error before getting back to you :)

DSJourney commented 4 years ago

I'm glad you resolved it @DSJourney ! I was actually just trying to reproduce your error before getting back to you :)

Yeah, sorry for that... my mistake... it actually works very well thanks for putting it together.

I take the opportunity to ask, how can each connection show both numbers of the relationship, is that only on the pro version? I explain with images:

There is a relation in which, if you look from one side it occurs 2046 and if you look at it from the other side it occurs 1739

Screenshot 2020-06-25 at 13 14 13

When I go to the chord diagram it only shows the 2046 but not the 1739.

Screenshot 2020-06-25 at 13 14 03

In your example, the matrix is symmetrical and it makes a lot of sense. But since mine is not, I was wondering if there is a way to show both values or the sum of both? I can calculate the sum but I was wondering if there was a way to make it work directly.

In any case, thanks for your work on this!