Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 92119bb

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

File tree

Expand file treeCollapse file tree

1 file changed

+0
-8
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+0
-8
lines changed

‎src/plots/ternary/ternary.js

Copy file name to clipboardExpand all lines: src/plots/ternary/ternary.js
-8Lines changed: 0 additions & 8 deletions
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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.