-
Notifications
You must be signed in to change notification settings - Fork 2
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
Does not work with typed array data columns #7
Comments
Should be fixed in 1.0.1. |
Thanks @dy ! Sploms are now working with For example, const regl = require('regl')({ extensions: 'oes_element_index_uint' })
const createMatrix = require('./')
let splom = createMatrix(regl)
splom.update({
data: [
new Int32Array([1, 2, 3]),
new Int32Array([4, 6, 8]),
new Int32Array([1, 5, 9])
],
ranges: [
[0, 10],
[0, 10],
[0, 10]
],
domain: [
[0, 0, 0.3, 0.3],
[0.35, 0.35, 0.65, 0.65],
[0.7, 0.7, 1, 1]
],
color: ['red', 'green', 'blue'],
size: [20, 10, 30]
})
splom.draw() gives and a blank screen. Looks like |
Ok, now should be fixed ) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Consider:
this gives:
and a blank screen.
Is this a known limitation of this implementation? That is, should we try to convert typed array to plain arrays in plotly.js? Or would there be an easy way to make regl-splom accept typed arrays?
The text was updated successfully, but these errors were encountered: