Skip to content
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

dericheConv1d: TypeError: grid2.subarray is not a function #715

Open
choucavalier opened this issue Mar 11, 2025 · 1 comment
Open

dericheConv1d: TypeError: grid2.subarray is not a function #715

choucavalier opened this issue Mar 11, 2025 · 1 comment
Labels
needs_details Issue needs details and may be closed if there is no response.

Comments

@choucavalier
Copy link

choucavalier commented Mar 11, 2025

when using a contour combined with a intervalXY and vg.Selection, i'm getting an error when i interact with the plot

here are some debugging screenshots to help us figure out the issue:

it seems that here, within the dericheConv1d function we're trying to access a subarray when in fact there is none.

Image

going up the stack one bit here's what's happening in convolve()

Image

sorry i'm not coming with a self-reproducing example because it would require quite a bit of work to isolate the issue. i'm hopeful the debugging context will be sufficient. otherwise, happy to take some time to come up with e self-contained reproducing example

@jheer
Copy link
Member

jheer commented Mar 11, 2025

The subarray method is defined on a typed array. It looks like the issue might be that the array being passed for convolution is not a tyhped array (like Float64Array) but a standard Array. This suggests that maybe a non-numeric column is being passed in? But, it's hard to say more without seeing some kind of associated data and chart specification. Happy to dig deeper given more information!

@domoritz domoritz added the needs_details Issue needs details and may be closed if there is no response. label Mar 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs_details Issue needs details and may be closed if there is no response.
Projects
None yet
Development

No branches or pull requests

3 participants