We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
There seems to be a regression in 1.42 for scattegl traces with mode='lines' and >100k points.
scattegl
mode='lines'
Originally discussed in https://community.plot.ly/t/trouble-with-scattergl-lines-with-lots-of-points/15408/2
CodePen: https://codepen.io/jonmmease/pen/qQZWXB
function gaussianRand() { var rand = 0; for (var i = 0; i < 6; i += 1) { rand += Math.random(); } return (rand / 6)-0.5; } // 100,000 fails var point_num = 100000; // 99,999 is fine // var point_num = 99999; var Y = []; for (var i = 0; i < point_num; i++) { Y.push((gaussianRand()*8)); } var data = [{ type: "scattergl", mode: "line", y: Y }] var layout = {showlegend: false} Plotly.plot('graph', data = data, layout = layout)
with <= 99,999 points the plot works as expected
but with >= 100,000 points the plot doesn't render and the following JavaScript error is raised
TypeError: opts.marker is undefined. plotly-1.42.4.js:168110:1
version 1.41.3 doesn't have this error. Thanks!
The text was updated successfully, but these errors were encountered:
Additional data for seemingly same issue:
plotly/plotly.py#1271
Sorry, something went wrong.
etpinard
Successfully merging a pull request may close this issue.
There seems to be a regression in 1.42 for
scattegl
traces withmode='lines'
and >100k points.Originally discussed in https://community.plot.ly/t/trouble-with-scattergl-lines-with-lots-of-points/15408/2
CodePen: https://codepen.io/jonmmease/pen/qQZWXB
with <= 99,999 points the plot works as expected

but with >= 100,000 points the plot doesn't render and the following JavaScript error is raised
version 1.41.3 doesn't have this error. Thanks!
The text was updated successfully, but these errors were encountered: