Skip to content

Commit 075e495

Browse files
committed
fixup path in selectors
1 parent 587b2e2 commit 075e495

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/traces/contour/plot.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ function plotOne(gd, plotinfo, cd) {
6464
pathinfo = emptyPathinfo(contours, plotinfo, cd[0]);
6565

6666
if(trace.visible !== true) {
67-
fullLayout._paper.selectAll('.' + id + ',.hm' + id).remove();
67+
fullLayout._paper.selectAll('.' + id + ',.hm' + uid).remove();
6868
fullLayout._infolayer.selectAll('.cb' + uid).remove();
6969
return;
7070
}
@@ -81,7 +81,7 @@ function plotOne(gd, plotinfo, cd) {
8181
heatmapPlot(gd, plotinfo, [cd]);
8282
}
8383
// in case this used to be a heatmap (or have heatmap fill)
84-
else fullLayout._paper.selectAll('.hm '+ uid).remove();
84+
else fullLayout._paper.selectAll('.hm' + uid).remove();
8585

8686
makeCrossings(pathinfo);
8787
findAllPaths(pathinfo);

0 commit comments

Comments
 (0)