Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Scattergl selection / clustering fix #2593

Merged
merged 13 commits into from
May 1, 2018
15 changes: 15 additions & 0 deletions test/jasmine/tests/splom_test.js
Original file line number Diff line number Diff line change
Expand Up @@ -549,6 +549,21 @@ describe('@gl Test splom interactions:', function() {
.catch(failTest)
.then(done);
});

it('should work with typed arrays', function(done) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

locking a fix for #2585 from the new regl-splom version

Plotly.plot(gd, [{
type: 'splom',
dimensions: [{
label: 'A',
values: new Int32Array([1, 2, 3])
}, {
label: 'B',
values: new Int32Array([2, 5, 6])
}]
}])
.catch(failTest)
.then(done);
});
});

describe('@gl Test splom hover:', function() {
Expand Down