scattergl with nulls

Hover throws errors with scattergl and null values

by bhogan_mitre

HTML

<head>
  <script src="https://cdn.plot.ly/plotly-latest.js"></script>
</head>

<body>
  <div id="myDiv"><!-- Plotly chart will be drawn inside this DIV --></div>
</body>

JavaScript

var trace1 = {
  x: [1, 2, 3, 4],
  y: [10, 15, null, 17],
  mode: 'markers',
  type: 'scattergl'
};

var data = [trace1];

Plotly.newPlot('myDiv', data);