javascript - Maximum call stack size exceeded in plotly 3d scatter plot -




i implementing 3d scatterplot using plotly.js , task working on - change color of dot when hover (or click - not matter) on it. have found example works 2d scatter plot. however, not work 3d scatter plot. after "onhover" event, script starts executing "plotly_onhover" function infinitely many times, till throws error.

here code working 2d scatter: https://codepen.io/plotly/pen/xgxbrj

and code not working 3d scatter: https://codepen.io/anon/pen/pkewob

the problem in plotly.restyle('mydiv', update, [tn]); line. suppose calling "plotly_onhover" function again , again. why not happen in 2d scatter plot then?

please, me, @ sea.





wiki

Comments

Popular posts from this blog

Asterisk AGI Python Script to Dialplan does not work -

python - Read npy file directly from S3 StreamingBody -

kotlin - Out-projected type in generic interface prohibits the use of metod with generic parameter -