Skip to content

Commit 92119bb

Browse files
committed
rm (now useless) logic for ternary make plot framework
- made useless by #946
1 parent fe8a3f9 commit 92119bb

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

src/plots/ternary/ternary.js

-8
Original file line numberDiff line numberDiff line change
@@ -50,14 +50,6 @@ proto.plot = function(ternaryData, fullLayout) {
5050
graphSize = fullLayout._size,
5151
i;
5252

53-
if(Lib.getPlotDiv(_this.plotContainer.node()) !== _this.graphDiv) {
54-
// someone deleted the framework - remake it
55-
// TODO: this is getting deleted in (cartesian) makePlotFramework
56-
// turn that into idiomatic d3 (enter/exit, the piece I didn't know
57-
// before was ordering selections) so we don't need this.
58-
_this.init(_this.graphDiv._fullLayout);
59-
_this.makeFramework();
60-
}
6153

6254
_this.adjustLayout(ternaryLayout, graphSize);
6355

0 commit comments

Comments
 (0)