Skip to content

Commit f7dc6b3

Browse files
committed
add test for splom with typed array values
1 parent b78f320 commit f7dc6b3

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

test/jasmine/tests/splom_test.js

+15
Original file line numberDiff line numberDiff line change
@@ -549,6 +549,21 @@ describe('@gl Test splom interactions:', function() {
549549
.catch(failTest)
550550
.then(done);
551551
});
552+
553+
it('should work with typed arrays', function(done) {
554+
Plotly.plot(gd, [{
555+
type: 'splom',
556+
dimensions: [{
557+
label: 'A',
558+
values: new Int32Array([1, 2, 3])
559+
}, {
560+
label: 'B',
561+
values: new Int32Array([2, 5, 6])
562+
}]
563+
}])
564+
.catch(failTest)
565+
.then(done);
566+
});
552567
});
553568

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

0 commit comments

Comments
 (0)