Skip to content

Commit 7405281

Browse files
committed
sankey: do not stash initial view for traces not visible
1 parent 80f5b00 commit 7405281

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/traces/sankey/plot.js

+1
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,7 @@ module.exports = function plot(gd, calcData) {
129129

130130
// stash initial view
131131
for(var i = 0; i < gd._fullData.length; i++) {
132+
if(!gd._fullData[i].visible) continue;
132133
if(gd._fullData[i].type !== cn.sankey) continue;
133134
if(!gd._fullData[i]._viewInitial) {
134135
var node = gd._fullData[i].node;

0 commit comments

Comments
 (0)