We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0ff2dc4 commit f5873f1Copy full SHA for f5873f1
src/traces/contour/style.js
@@ -37,7 +37,7 @@ module.exports = function style(gd) {
37
var colorLines = !isConstraintType && contours.coloring === 'lines';
38
var colorFills = !isConstraintType && contours.coloring === 'fill';
39
40
- var colorMap = isConstraintType ? null : makeColorMap(trace);
+ var colorMap = (colorLines || colorFills) ? makeColorMap(trace) : null;
41
42
c.selectAll('g.contourlevel').each(function(d) {
43
d3.select(this).selectAll('path')
0 commit comments