Skip to content

Commit

Permalink
remove fig.layout.hovermode = false;
Browse files Browse the repository at this point in the history
  • Loading branch information
jonfunkhouser committed May 9, 2022
1 parent 1aa49ff commit 70cb931
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions test/jasmine/tests/polar_test.js
Original file line number Diff line number Diff line change
Expand Up @@ -1149,10 +1149,6 @@ describe('Test polar interactions:', function() {
describe('dragmode === false', function() {
it('should not respond to drag interactions on plot area when dragmode === false', function(done) {
var fig = Lib.extendDeep({}, require('@mocks/polar_scatter.json'));

// to avoid dragging on hover labels
fig.layout.hovermode = false;

// adjust margins so that middle of plot area is at 300x300
// with its middle at [200,200]
fig.layout.width = 400;
Expand Down Expand Up @@ -1243,10 +1239,6 @@ describe('Test polar interactions:', function() {

it('should not respond to drag interactions on radial drag area when dragmode === false', function(done) {
var fig = Lib.extendDeep({}, require('@mocks/polar_scatter.json'));

// to avoid dragging on hover labels
fig.layout.hovermode = false;

// adjust margins so that middle of plot area is at 300x300
// with its middle at [200,200]
fig.layout.width = 400;
Expand Down Expand Up @@ -1328,8 +1320,6 @@ describe('Test polar interactions:', function() {
it('should not respond to drag interactions on inner radial drag area when dragmode === false', function(done) {
var fig = Lib.extendDeep({}, require('@mocks/polar_scatter.json'));
fig.layout.polar.hole = 0.2;
// to avoid dragging on hover labels
fig.layout.hovermode = false;
// adjust margins so that middle of plot area is at 300x300
// with its middle at [200,200]
fig.layout.width = 400;
Expand Down Expand Up @@ -1372,10 +1362,6 @@ describe('Test polar interactions:', function() {

it('should not respond to drag interactions on angular drag area when dragmode === false', function(done) {
var fig = Lib.extendDeep({}, require('@mocks/polar_scatter.json'));

// to avoid dragging on hover labels
fig.layout.hovermode = false;

// adjust margins so that middle of plot area is at 300x300
// with its middle at [200,200]
fig.layout.width = 400;
Expand Down

0 comments on commit 70cb931

Please sign in to comment.