Skip to content

Commit cf23c09

Browse files
committed
fix linter errors
1 parent 4c4db95 commit cf23c09

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

src/plot_api/plot_api.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -762,9 +762,9 @@ function cleanData(data, existingData) {
762762
if(cont.colorscale === 'YIOrRd') cont.colorscale = 'YlOrRd';
763763
}
764764
if(Plots.traceIs(trace, 'surface')) {
765-
if('zmin' in trace) trace.cmin = trace.zmin
766-
if('zmax' in trace) trace.cmax = trace.zmax
767-
if('zauto' in trace) trace.cauto = trace.zauto
765+
if('zmin' in trace) trace.cmin = trace.zmin;
766+
if('zmax' in trace) trace.cmax = trace.zmax;
767+
if('zauto' in trace) trace.cauto = trace.zauto;
768768
}
769769

770770
// prune empty containers made before the new nestedProperty

src/traces/surface/attributes.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -171,8 +171,8 @@ module.exports = {
171171
},
172172

173173
_deprecated: {
174-
zauto: colorscaleAttrs.zauto,
175-
zmin: colorscaleAttrs.zmin,
176-
zmax: colorscaleAttrs.zmax
174+
zauto: colorscaleAttrs.zauto,
175+
zmin: colorscaleAttrs.zmin,
176+
zmax: colorscaleAttrs.zmax
177177
}
178178
};

src/traces/surface/convert.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -245,11 +245,11 @@ proto.update = function(data) {
245245
dynamicColor: [[1, 1, 1, 1], [1, 1, 1, 1], [1, 1, 1, 1]],
246246
dynamicWidth: [1, 1, 1],
247247
dynamicTint: [1, 1, 1],
248-
opacity: 1,
248+
opacity: 1
249249
};
250250

251251
if('cmin' in data && 'cmax' in data) {
252-
params.intensityBounds = [ data.cmin, data.cmax ]
252+
params.intensityBounds = [ data.cmin, data.cmax ];
253253
}
254254

255255
//Refine if necessary

0 commit comments

Comments
 (0)