Skip to content

Commit b7679a6

Browse files
committed
make sure the hoverlabel key exists but has an undefined value
1 parent 930e4c8 commit b7679a6

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/plots/plots.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1171,7 +1171,9 @@ plots.supplyTraceDefaults = function(traceIn, traceOut, colorIndex, layout, trac
11711171
traceOut._dfltShowLegend = false;
11721172
}
11731173

1174-
if(_module && _module.attributes.hoverlabel !== undefined) {
1174+
if(_module && ('hoverlabel' in _module.attributes) && _module.attributes.hoverlabel === undefined) {
1175+
// Do not coerce hoverlabel
1176+
} else {
11751177
Registry.getComponentMethod(
11761178
'fx',
11771179
'supplyDefaults'

0 commit comments

Comments
 (0)