matplotlib-chord-diagram icon indicating copy to clipboard operation
matplotlib-chord-diagram copied to clipboard

Incomplete Chord Chart - no flow out from Cell 1

Open newtonkid opened this issue 5 years ago • 2 comments

Did you plot all the data? It seems not out-flow from Cell 1 to other cells, what's wrong?

newtonkid avatar Jan 17 '20 15:01 newtonkid

Thanks for mentioning this bug -- I can also confirm there are no outgoing lines row 0 I know where, but I do not know how to fix it.

I ended up using holoviews route chord which is not perfect but good enough: http://holoviews.org/gallery/demos/matplotlib/route_chord.html

Problem details:

https://github.com/fengwangPhysics/matplotlib-chord-diagram/blob/master/matplotlib-chord.py#L210

This ChordArc should be creating a patch to and from a location. Because of how its written, for example when the index is i=1, j=0

Should create an arc from both i=1 to j=0 and j=0 to i=i however that is not the case for row 0 for some reason

brycepg avatar Jul 27 '20 21:07 brycepg

Hi there, in case the package is still relevant for you, I am now maintaining an updated version of this package that is on Pypi

tfardet avatar Apr 07 '21 07:04 tfardet