Conversation
743b2f0 to
10fa7a4
Compare
|
Sorry about the force-push! I noticed afterward that the guideline ask not to force-push open PR branches. |
|
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. |
|
While testing This caused the current ternary spike logic to run a redundant second Below is a recording showing the spikelines feature working with a spikelines.with.scatterternarygl.trace.mp4 |
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.