Skip to content

Commit 73c66a9

Browse files
committed
🔪 obsolete comment
1 parent e8973fa commit 73c66a9

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

src/components/colorscale/calc.js

-10
Original file line numberDiff line numberDiff line change
@@ -44,16 +44,6 @@ module.exports = function calc(gd, trace, opts) {
4444
container['_' + minAttr] = container[minAttr] = min;
4545
container['_' + maxAttr] = container[maxAttr] = max;
4646

47-
// TODO ?!?
48-
/*
49-
* If auto was explicitly false but min or max was missing,
50-
* we filled in the missing piece here but later the trace does
51-
* not look auto.
52-
* Otherwise make sure the trace still looks auto as far as later
53-
* changes are concerned.
54-
*/
55-
// doUpdate(autoAttr, (auto !== false || (min === undefined && max === undefined)));
56-
5747
if(container.autocolorscale) {
5848
if(min * max < 0) scl = fullLayout.colorscale.diverging;
5949
else if(min >= 0) scl = fullLayout.colorscale.sequential;

0 commit comments

Comments
 (0)