Skip to content

Commit 1649b1f

Browse files
committed
Add comment
1 parent 8192b50 commit 1649b1f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/traces/pointcloud/convert.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -175,6 +175,8 @@ proto.updateFast = function(options) {
175175
markerColor[3] *= opacity;
176176
this.pointcloudOptions.color = markerColor;
177177

178+
// detect blending from the number of points, if undefined
179+
// because large data with blending hits performance
178180
var blend = options.marker.blend;
179181
if(blend === undefined) {
180182
var maxPoints = 100;

0 commit comments

Comments
 (0)