Skip to content

Commit e1a0417

Browse files
committed
Tweak showscale to allow unset (instead of strictly false)
1 parent 89e095e commit e1a0417

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/traces/contour/colorbar.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ module.exports = function colorbar(gd, cd) {
2222

2323
gd._fullLayout._infolayer.selectAll('.' + cbId).remove();
2424

25-
if(trace.showscale === false) {
25+
if(!trace.showscale) {
2626
Plots.autoMargin(gd, cbId);
2727
return;
2828
}

0 commit comments

Comments
 (0)