python-ternary
python-ternary copied to clipboard
Default plot does not save as equilateral triangle
Hello there! Thanks for making this lovely library. I've always run in to the issue when saving plots that my ternary plots are never equilateral triangles. I was wondering if anyone else was having this issue. An example is attached below.
I had the same issue a while back. Quick look in my code revealed:
tax.get_axes().set_aspect(1)
tax._redraw_labels()
at the very end of plotting, right before saving.
Maybe this did the trick?
That fixed it for me! Thanks!
Thanks @maximweb !