You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[BUG]; Changing layout.ternary.sum via relayout makes scatterternary data stale #8127
Changing layout.ternary.sum with Plotly.relayout does not recalculate scatterternary data.
But scatterternary/calc.js depends on ternary.sum both to infer a missing component and to normalize a, b, and c. However, layout.ternary.sum currently has editType: 'plot', so changing it redraws the subplot without recalculating the trace.
For example, with:
a: [0.2],b: [0.3]
and the default ternary.sum: 1, c is inferred as 0.5.
After:
Plotly.relayout(gd,{'ternary.sum': 100});
the expected inferred value is 99.5, but the existing calcdata remains based on c = 0.5.
Activity
camdecoster commentedon Oct 19, 2026
Thanks for the report! We'll review the PR.