vinsburg / alluvial_diagram

A python script for generating "alluvial" styled bipartite diagrams, using matplotlib and numpy
GNU General Public License v3.0
47 stars 11 forks source link

Possible to Extend to Multiple Flow Layers? #4

Open Butler925 opened 5 years ago

Butler925 commented 5 years ago

Hello vinsburg,

I absolutely love the plot, thank you for putting this together! I am pretty new to Python programming and this has made my plotting significantly easier.

Is it possible to extend this alluvial plot to additional layers (as far as I understand, it currently only allows two layers)? If it doesn't currently support this, I would be happy to help contribute to expanding its functionality!

Thank you!

vinsburg commented 5 years ago

Hey thank you, it means a lot to know someone found the tool to be useful

I'm not sure i understand what you mean, it was constructed to allow one type of connection between two groups, where each connection Theoretically you could plot another layer for a different type of connection between the same two groups on top of the first one. I am unsure as to how discernible the details of such images would be.

If you have an idea of what you'd like to implement I'd be more than happy to review it

On Mon, Jun 24, 2019 at 1:39 AM Butler925 notifications@github.com wrote:

Hello vinsburg,

I absolutely love the plot, thank you for putting this together! I am pretty new to Python programming and this has made my plotting significantly easier.

Is it possible to extend this alluvial plot to additional layers (as far as I understand, it currently only allows two layers)? If it doesn't currently support this, I would be happy to help contribute to expanding its functionality!

Thank you!

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/vinsburg/alluvial_diagram/issues/4?email_source=notifications&email_token=AF2E7DA2U6DJPS3L2D2JD4TP373QHA5CNFSM4H2Z6A42YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4G3FK3DA, or mute the thread https://github.com/notifications/unsubscribe-auth/AF2E7DDB574WX6O376NIQGLP373QHANCNFSM4H2Z6A4Q .

Butler925 commented 5 years ago

Hi vinsburg,

I'm sorry if I wasn't clear! I think my question relates more closely to a Sankey Diagram where more than two groups are specified and the figure can be used to show flow or progression through multiple steps. As an example, I attached a picture of a diagram with visuals very similar to your program and allowing for additional groups.

sankey_example

Please let me know if I can provide any additional clarification!

balandongiv commented 2 years ago

Thanks for the package, it really usefull @vinsburg .

Following to @Butler925 question, does this package allow more than multiple slices/group plotting?

vinsburg commented 2 years ago

@Butler925 @balandongiv Appreciate the feedback, I've seen these plots before. I'll look into it, let you know if I can resolve it in the foreseeable future ^ ^