Skip to content

Commit

Permalink
rm (now useless) logic for ternary make plot framework
Browse files Browse the repository at this point in the history
- made useless by #946
  • Loading branch information
etpinard committed Jan 10, 2017
1 parent fe8a3f9 commit 92119bb
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions src/plots/ternary/ternary.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,14 +50,6 @@ proto.plot = function(ternaryData, fullLayout) {
graphSize = fullLayout._size,
i;

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

_this.adjustLayout(ternaryLayout, graphSize);

Expand Down

0 comments on commit 92119bb

Please sign in to comment.