PAIR-code/scatter-gl

3D Points do not appear if all points of third dimension are same value

Wei-LinHsiao opened this issue · 0 comments

Describe the current behavior

Given a dataset of (x, y, z) points, if all values of the z dimension are the same, the points will not appear on the visualizer. This only works for the image and point rendermodes; the text rendermode is unaffected.

Describe the expected behavior

The points are expected to appear.

Standalone code to reproduce the issue

Adding the line vector[2] = 0 after line 26 in index.ts will replicate this issue.