Skip to content

Commit 70cb931

Browse files
committed
remove fig.layout.hovermode = false;
1 parent 1aa49ff commit 70cb931

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

test/jasmine/tests/polar_test.js

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1149,10 +1149,6 @@ describe('Test polar interactions:', function() {
11491149
describe('dragmode === false', function() {
11501150
it('should not respond to drag interactions on plot area when dragmode === false', function(done) {
11511151
var fig = Lib.extendDeep({}, require('@mocks/polar_scatter.json'));
1152-
1153-
// to avoid dragging on hover labels
1154-
fig.layout.hovermode = false;
1155-
11561152
// adjust margins so that middle of plot area is at 300x300
11571153
// with its middle at [200,200]
11581154
fig.layout.width = 400;
@@ -1243,10 +1239,6 @@ describe('Test polar interactions:', function() {
12431239

12441240
it('should not respond to drag interactions on radial drag area when dragmode === false', function(done) {
12451241
var fig = Lib.extendDeep({}, require('@mocks/polar_scatter.json'));
1246-
1247-
// to avoid dragging on hover labels
1248-
fig.layout.hovermode = false;
1249-
12501242
// adjust margins so that middle of plot area is at 300x300
12511243
// with its middle at [200,200]
12521244
fig.layout.width = 400;
@@ -1328,8 +1320,6 @@ describe('Test polar interactions:', function() {
13281320
it('should not respond to drag interactions on inner radial drag area when dragmode === false', function(done) {
13291321
var fig = Lib.extendDeep({}, require('@mocks/polar_scatter.json'));
13301322
fig.layout.polar.hole = 0.2;
1331-
// to avoid dragging on hover labels
1332-
fig.layout.hovermode = false;
13331323
// adjust margins so that middle of plot area is at 300x300
13341324
// with its middle at [200,200]
13351325
fig.layout.width = 400;
@@ -1372,10 +1362,6 @@ describe('Test polar interactions:', function() {
13721362

13731363
it('should not respond to drag interactions on angular drag area when dragmode === false', function(done) {
13741364
var fig = Lib.extendDeep({}, require('@mocks/polar_scatter.json'));
1375-
1376-
// to avoid dragging on hover labels
1377-
fig.layout.hovermode = false;
1378-
13791365
// adjust margins so that middle of plot area is at 300x300
13801366
// with its middle at [200,200]
13811367
fig.layout.width = 400;

0 commit comments

Comments
 (0)