Conversation
Lexachoc
force-pushed
the
scatterternary-spikelines
branch
from
September 14, 2026 17:33
743b2f0 to
10fa7a4
Compare
Contributor
Author
|
Sorry about the force-push! I noticed afterward that the guideline ask not to force-push open PR branches. |
Contributor
|
Thanks for the PR! Our team will take a look and provide some feedback. No worries about the force push; it's mostly important for after a review starts. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #7972
Demo in #7972 (comment)
Similar to Cartesian spikelines, ternary axes support the existing spikeline attributes:
showspikesspikecolorspikethicknessspikedashspikemodespikesnapThe ternary spikelines also respect
spikedistance.Note: This implementation always displays the corresponding axis value labels (
commonlabel) together with the spikelines.In Cartesian plots, these labels are controlled by
hovermode. Ternary plots currently do not have ahovermodeoption that fits naturally to ternary vertices, and I prefer to always show the labels together with the ternary spikelines instead, which also seems more intuitive for ternary plots. And these labels help the user to quickly understand the axis values.The axis value labels also respect the axis attribute:
hoverformat, so they use the same numeric formatting consistent with the ternaryhoverlabel.