Skip to content

Commit 454eed8

Browse files
committed
🔪 duplicate coerce('colorscale')
1 parent 5cc458d commit 454eed8

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/traces/surface/defaults.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
* LICENSE file in the root directory of this source tree.
77
*/
88

9-
109
'use strict';
1110

1211
var Registry = require('../../registry');
@@ -15,7 +14,6 @@ var Lib = require('../../lib');
1514
var colorscaleDefaults = require('../../components/colorscale/defaults');
1615
var attributes = require('./attributes');
1716

18-
1917
module.exports = function supplyDefaults(traceIn, traceOut, defaultColor, layout) {
2018
var i, j;
2119

@@ -61,8 +59,6 @@ module.exports = function supplyDefaults(traceIn, traceOut, defaultColor, layout
6159

6260
var surfaceColor = coerce('surfacecolor');
6361

64-
coerce('colorscale');
65-
6662
var dims = ['x', 'y', 'z'];
6763
for(i = 0; i < 3; ++i) {
6864

0 commit comments

Comments
 (0)