scatter3d: suppressing connecting lines causes WebGL warning
See original GitHub issueI am using plotly.js version 1.12.0. In my browser console, I do:
container = document.querySelector('.plotly-container')
Plotly.newPlot(container, [{x: [1, 2, 3], y: [3, 2, 1], z: [2, 3, 1], type: 'scatter3d'}])
and everything is fine. If I don’t want the lines between the points, I do:
Plotly.newPlot(container, [{x: [1, 2, 3], y: [3, 2, 1], z: [2, 3, 1], type: 'scatter3d', mode:'markers+text'}])
and then, while I no longer see the lines between the points, I get many of this warning:
[.CommandBufferContext.Offscreen-MainThread-0x3969ca4b4a00]RENDER WARNING: Render count or primcount is 0.
I’m using Ubuntu 14.04 and the above warnings only seem to appear in Chrome (for me, Version 51.0.2704.106 (64-bit)). When in Firefox, I do not see the warnings.
Thank you!
Issue Analytics
- State:
- Created 7 years ago
- Comments:5 (4 by maintainers)
Top Results From Across the Web
Adding specific lines to a Plotly Scatter3d() plot - Stack Overflow
Physically speaking, I have a network where I have some nodes connected with bonds, and I want to draw these bonds. How do...
Read more >plotly.js-mapbox-dist | Yarn - Package Manager
Ready-to-use plotly.js mapbox distributed bundle. Contains trace modules choroplethmapbox , densitymapbox , scatter and scattermapbox . For more info on plotly.
Read more >Plotly figurewidget overview in Python
A value of 1 (default) gives | a head about 3x as wide as the line. ... clicktoshow | Makes this annotation respond...
Read more >plotly Changelog - PyUp.io
All line-like Plotly Express functions now accept `markers` argument to display markers, ... Fix no-WebGL warning for `scattergl` and `splom` traces ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Oh actually, I was able to replicate the same warning message with:
I’m thinking this has to do with setting
mode: 'text'
whentext
is empty.That is correct. The plot renders fine, and the only issue is the console warnings.