We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Sometimes 3d data, like simplicial-complex, has TypedArray format, eg. Float32Array for positions and Uint32Array for cell indices:
// positions = Float32Array // cells = Uint32Array Plotly.plot(document.body, [{ "x": positions.filter((p, i) => !(i % 3)), "y": positions.filter((p, i) => !((i-1) % 3)), "z": positions.filter((p, i) => !((i-2) % 3)), "i": indices.filter((p, i) => !(i % 3)), "j": indices.filter((p, i) => !((i-1) % 3)), "k": indices.filter((p, i) => !((i-2) % 3)), }])
Would be nice for plotly to be able to deal with TypedArrays and not force users cast data to exact datatype.
The text was updated successfully, but these errors were encountered:
duplicate of #860
Sorry, something went wrong.
No branches or pull requests
Sometimes 3d data, like simplicial-complex, has TypedArray format, eg. Float32Array for positions and Uint32Array for cell indices:
Would be nice for plotly to be able to deal with TypedArrays and not force users cast data to exact datatype.
The text was updated successfully, but these errors were encountered: