Skip to content

feat: add a new ternary contour plot operator#4193

Open
ELin2025 wants to merge 2 commits intoapache:mainfrom
ELin2025:ternary-contour
Open

feat: add a new ternary contour plot operator#4193
ELin2025 wants to merge 2 commits intoapache:mainfrom
ELin2025:ternary-contour

Conversation

@ELin2025
Copy link

@ELin2025 ELin2025 commented Feb 6, 2026

What changes were proposed in this PR?

image

This change relates to the addition of a ternary contour plot operator, which visualizes how a scalar value varies as a function of three normalized components that sum to a constant (typically 1 or 100%).

In a ternary contour plot:

  • Each vertex of the triangular plot represents 100% of one component.
  • Any interior point represents a mixture of the three components.
  • Contour lines or color gradients indicate equal values of the measured quantity across different mixtures.

This visualization is useful for identifying regions where the output is optimized or insensitive to changes in the component proportions, as well as for understanding trade-offs between the three variables.

The operator takes in 4 inputs. The first three variables are the components, and the fourth variable is the output that corresponds to the proportion of the the three components.

Any related issues, documentation, discussions?

Needs python library scikit-image
Can be installed using: pip install scikit-image

How was this PR tested?

Tested with existing test cases

Was this PR authored or co-authored using generative AI tooling?

No

@github-actions github-actions bot added frontend Changes related to the frontend GUI common labels Feb 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

common frontend Changes related to the frontend GUI

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant