Announcing Dash Bio 1.0.0 🎉 : a one-stop-shop for bioinformatics and drug development visualizations.

Spike Lines on spikesnap cursor not working

I’ve been trying to make a plot which has a vertical spike line which follows the cursor (plotly js), as it does in the ‘Styled Spike Lines’ plot on this page (Hover Text And Formatting).

In the docs it should be possible by using ‘spikesnap’ : ‘cursor’ and ‘spikemode’ : ‘across’ but I cannot get it to work, am I doing something wrong? Or is there a bug? Judging by this (Vertical or/and horizontal line that is always shown in any hovermode · Issue #2155 · plotly/plotly.js · GitHub) I do not think that I’m the only person who is having this issue.

Here is a notebook which contains the issue : https://jsfiddle.net/b4mo9u35/

Thanks!
Noah