Skip to content

Commit 80563be

Browse files
committed
rm un-used variables
1 parent e0f9f00 commit 80563be

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

src/traces/box/hover.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ module.exports = function hoverPoints(pointData, xval, yval, hovermode) {
2020
ya = pointData.ya,
2121
closeData = [],
2222
dx, dy, distfn, boxDelta,
23-
posLetter, posAxis, posText,
23+
posLetter, posAxis,
2424
val, valLetter, valAxis;
2525

2626
// adjust inbox w.r.t. to calculate box size
@@ -71,7 +71,7 @@ module.exports = function hoverPoints(pointData, xval, yval, hovermode) {
7171
pointData[posLetter+'0'] = posAxis.c2p(di.pos + t.bPos - t.bdPos, true);
7272
pointData[posLetter+'1'] = posAxis.c2p(di.pos + t.bPos + t.bdPos, true);
7373

74-
posText = Plotly.Axes.tickText(posAxis, posAxis.c2l(di.pos), 'hover').text;
74+
Plotly.Axes.tickText(posAxis, posAxis.c2l(di.pos), 'hover').text;
7575
pointData[posLetter+'LabelVal'] = di.pos;
7676

7777
// box plots: each "point" gets many labels

test/jasmine/tests/plot_interact_test.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
var d3 = require('d3');
22

33
var Plotly = require('@src/index');
4-
var Fx = require('@src/plots/cartesian/graph_interact');
54

65
var createGraphDiv = require('../assets/create_graph_div');
76
var destroyGraphDiv = require('../assets/destroy_graph_div');

0 commit comments

Comments
 (0)