yuzie007 / mpltern

Ternary plots as projections of Matplotlib
https://yuzie007.github.io/mpltern
MIT License
39 stars 2 forks source link

Comparison to python-ternay #1

Closed jan-janssen closed 4 years ago

jan-janssen commented 4 years ago

Hi @yuzie007,

I was using https://github.com/marcharper/python-ternary before, can you maybe briefly explain to me what is the difference to your library? Looking at your documentation, yours seem to be more closely oriented on matplotlib, but maybe you can give me some more details.

Best,

Jan

yuzie007 commented 4 years ago

Hi @jan-janssen,

Thanks for your curiosity. I know of course https://github.com/marcharper/python-ternary, which is a great code supporting ternary plots in Python long time. My code focuses on inheriting Matplotlib "behaviors" as much as possible. This includes e.g.:

So, actually for this code I focuses on not adding new fancy plotting styles but e.g. to give consistent behaviors with Matplotlib. For people who do not care it, my code might be no fancy at all.

I also focuses on to make it work also in interactive modes; if in case you have some curiosity it might be also nice to try my code in Jupyter notebooks and e.g. zoom-in. Hopefully you'll see an expected behavior, which python-ternary might not do.

These are, however, just my own opinions, so I know nothing how others feel.