Skip to content

Commit 46feda1

Browse files
committed
🔪 logic for unused colorscale defaults option
1 parent 84c9708 commit 46feda1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/colorscale/defaults.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ module.exports = function colorScaleDefaults(traceIn, traceOut, layout, coerce,
5454
coerce(prefix + 'colorscale');
5555
coerce(prefix + 'reversescale');
5656

57-
if(!opts.noScale && prefix !== 'marker.line.') {
57+
if(prefix !== 'marker.line.') {
5858
// handles both the trace case where the dflt is listed in attributes and
5959
// the marker case where the dflt is determined by hasColorbar
6060
var showScaleDflt;

0 commit comments

Comments
 (0)