-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Histogram Redraw: replace numeric array with string array breaks redraw function #710
Comments
Here's the solution: http://codepen.io/etpinard/pen/Vjbpbz In brief, plotly.js mutates a few parts of the user data during a For example, This user data mutation paradigm is confusing, not ideal or even flat-out wrong, but it will stay us until at least |
No worries, thanks for the workaround! |
I'm using plotly.js 1.12.0, and in my browser console I type:
this works as expected. Now, according to the documentation I can completely replace the data and then redraw, so I do:
Which does not update the plot, but generates the following console error:
For me, this is happening on Ubuntu 14.04 in both Chrome (51) and Firefox (47).
Perhaps it is expected that if you replace the numeric data values with strings, then
redraw
will not work?Thank you for maintaining an open source project!
The text was updated successfully, but these errors were encountered: