Skip to content

scatter3d: suppressing connecting lines causes WebGL warning #704

Closed
@scottwittenburg

Description

@scottwittenburg

I 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!

Metadata

Metadata

Assignees

Labels

bugsomething broken

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions