Skip to content

Commit cc4d3c7

Browse files
committed
Change undefined to null
1 parent 1649b1f commit cc4d3c7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/traces/pointcloud/attributes.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ module.exports = {
7575
},
7676
blend: {
7777
valType: 'boolean',
78-
dflt: undefined,
78+
dflt: null,
7979
role: 'style',
8080
description: [
8181
'Determines if colors are blended together for a translucency effect',

src/traces/pointcloud/convert.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ proto.updateFast = function(options) {
178178
// detect blending from the number of points, if undefined
179179
// because large data with blending hits performance
180180
var blend = options.marker.blend;
181-
if(blend === undefined) {
181+
if(blend === null) {
182182
var maxPoints = 100;
183183
blend = x.length < maxPoints || y.length < maxPoints;
184184
}

0 commit comments

Comments
 (0)