Skip to content

Commit ab2b9e8

Browse files
committed
add comment about smarter surface showscale default
1 parent d16199c commit ab2b9e8

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/traces/surface/defaults.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,9 @@ module.exports = function supplyDefaults(traceIn, traceOut, defaultColor, layout
9494
mapLegacy(traceIn, 'zauto', 'cauto');
9595
}
9696

97+
// TODO if contours.?.usecolormap are false and hidesurface is true
98+
// the colorbar shouldn't be shown by default
99+
97100
colorscaleDefaults(
98101
traceIn, traceOut, layout, coerce, {prefix: '', cLetter: 'c'}
99102
);

0 commit comments

Comments
 (0)