You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
unhandled exception when using plotly-cartesian.js with scatterternary #4164
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.
Activity
etpinard commentedon Sep 4, 2019
Thanks for the report!
Looks like this line:
plotly.js/src/components/modebar/buttons.js
Line 383 in b453045
should have
Moreover, I wonder what
scatterternaryis doing in the cartesian bundle, maybe we take it out of there in v2.etpinard commentedon Sep 10, 2019
In a codepen: https://codepen.io/etpinard/pen/XWrEwrm
fix #4164 - add fallbacks to fullLayout._subplots[k] entries