Skip to content

Commit 1919b72

Browse files
committed
fix sankey attributes definition
1 parent d247b8b commit 1919b72

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/traces/sankey/attributes.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ module.exports = overrideAll({
121121
role: 'style',
122122
description: 'Sets the thickness (in px) of the `nodes`.'
123123
},
124-
hoverinfo: Object.assign(plotAttrs.hoverinfo, {flags: []}),
124+
hoverinfo: Object.assign({}, plotAttrs.hoverinfo, {flags: []}),
125125
hoverlabel: fxAttrs.hoverlabel, // needs editType override,
126126
description: 'The nodes of the Sankey plot.'
127127
},
@@ -181,7 +181,7 @@ module.exports = overrideAll({
181181
role: 'info',
182182
description: 'A numeric value representing the flow volume value.'
183183
},
184-
hoverinfo: Object.assign(plotAttrs.hoverinfo, {flags: []}),
184+
hoverinfo: Object.assign({}, plotAttrs.hoverinfo, {flags: []}),
185185
hoverlabel: fxAttrs.hoverlabel, // needs editType override,
186186
description: 'The links of the Sankey plot.'
187187
}

0 commit comments

Comments
 (0)