Skip to content

Commit 8338be6

Browse files
committed
properly delete clip defs from paper <svg>
1 parent 6a00fc2 commit 8338be6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/plots/ternary/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ exports.clean = function(newFullData, newFullLayout, oldFullData, oldFullLayout)
6666

6767
if(!newFullLayout[oldTernaryKey] && !!oldTernary) {
6868
oldTernary.plotContainer.remove();
69-
oldFullLayout.clipDef.remove();
69+
oldTernary.clipDef.remove();
7070
}
7171
}
7272
};

0 commit comments

Comments
 (0)