... just like @rreusser 's https://github.com/plotly/plotly.js/pull/761 did for scatter lines, See also https://github.com/plotly/plotly.js/issues/760 for more info on the topic.