Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Default plot does not save as equilateral triangle #171

Open
vmeschke opened this issue May 9, 2021 · 3 comments
Open

Default plot does not save as equilateral triangle #171

vmeschke opened this issue May 9, 2021 · 3 comments
Assignees

Comments

@vmeschke
Copy link

vmeschke commented May 9, 2021

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.
ternary

@maximweb
Copy link
Contributor

maximweb commented May 10, 2021

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?

@vmeschke
Copy link
Author

That fixed it for me! Thanks!

@marcharper
Copy link
Owner

Thanks @maximweb !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants