Skip to content

Commit

Permalink
add test for splom with typed array values
Browse files Browse the repository at this point in the history
  • Loading branch information
etpinard committed May 1, 2018
1 parent b78f320 commit f7dc6b3
Showing 1 changed file with 15 additions and 0 deletions.
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) {
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

0 comments on commit f7dc6b3

Please sign in to comment.