Skip to content

Fix ternary tri* delegation and add example#513

Merged
cvanelteren merged 9 commits intomainfrom
fix-ternary-tripcolor-delegate
Jan 27, 2026
Merged

Fix ternary tri* delegation and add example#513
cvanelteren merged 9 commits intomainfrom
fix-ternary-tripcolor-delegate

Conversation

@cvanelteren
Copy link
Collaborator

@cvanelteren cvanelteren commented Jan 27, 2026

This PR fixes ternary plotting on external axes containers by delegating the tri* plotting methods (tripcolor, tricontour, tricontourf, triplot) directly to the mpltern axes, preventing container‑level Matplotlib calls from bypassing ternary transforms. It also adds the 08_ternary.py example demonstrating tripcolor with a spiral overlay and colorbar.

@cvanelteren cvanelteren merged commit 4b452da into main Jan 27, 2026
3 of 4 checks passed
@cvanelteren cvanelteren deleted the fix-ternary-tripcolor-delegate branch January 27, 2026 10:22
K-Mirembe-Mercy pushed a commit to K-Mirembe-Mercy/UltraPlot that referenced this pull request Mar 22, 2026
* Fix ternary tripcolor delegation

Delegate tri* plotting calls to external axes and add the ternary tripcolor example.

* Update usage docs

* Correct the link reference

* Jazz up example

* update workflow

* Docs: fix ternary external axes link

* fix: link to docs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant