Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit f7dc6b3

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

File tree

1 file changed

+15
-0
lines changed
Filter options

1 file changed

+15
-0
lines changed

‎test/jasmine/tests/splom_test.js

Copy file name to clipboardExpand all lines: test/jasmine/tests/splom_test.js
+15Lines changed: 15 additions & 0 deletions
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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.