Skip to content

Commit 39b8acf

Browse files
committed
don't hack into fullLayout._plots in ternary code
1 parent 27683c2 commit 39b8acf

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

src/plots/ternary/ternary.js

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -675,19 +675,6 @@ proto.initInteractions = function() {
675675
dragger.onclick = function(evt) {
676676
fx.click(gd, evt);
677677
};
678-
679-
// make a fake plotinfo for fx.hover
680-
// it hardly uses it, could probably be refactored out...
681-
// but specifying subplot by name does seem nice for js applications
682-
// that want to hook into this.
683-
if(!gd._fullLayout._plots) gd._fullLayout._plots = {};
684-
gd._fullLayout._plots[_this.id] = {
685-
overlays: [],
686-
xaxis: _this.xaxis,
687-
yaxis: _this.yaxis,
688-
x: function() { return _this.xaxis; },
689-
y: function() { return _this.yaxis; }
690-
};
691678
};
692679

693680
function removeZoombox(gd) {

0 commit comments

Comments
 (0)