Skip to content

unhandled exception when using plotly-cartesian.js with scatterternary #4164

Description

@greg9504

Hello,

When the "Toggle show closest data on hover" button is clicked there is an exception triggered in function getNextHover3d, approximately line 395. sceneIds is undefined.

If I switch to the full dist, the exception does not occur.
I noticed this in our app using Plotly version 1.48.3 of npm installed plotly.js-cartesian-dist, however it seems to be there with 1.49.4 as well.

Attached in the zip file is a simple html file with ternary plot that demonstrates the problem. Open dev tools and you'll see the exception.

Three.zip

if you change the dist to point to https://cdnjs.cloudflare.com/ajax/libs/plotly.js/1.49.4/plotly.js the error does not occur.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugsomething broken

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions