We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
when Plotly.restyle is called with array with empty values , gives error y: [["Morning", "Afternoon", "Evening", "", ""]]
Plotly.restyle
y: [["Morning", "Afternoon", "Evening", "", ""]]
CODE: https://codepen.io/mafar/pen/agMvEO
var data = [ { z: [[1, 20, 30, 50, 1], [20, 1, 60, 80, 30], [30, 60, 1, -10, 20]], x: ["Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "", ""], y: ["Morning", "Afternoon", "Evening"], type: "heatmap" } ]; Plotly.newPlot("myDiv", data, {}, { showSendToCloud: true }); // Plotly.restyle with empty array values var update = { y: [["Morning", "Afternoon", "Evening", "", ""]] }; Plotly.restyle("myDiv", update, 0);
See attached image:
The text was updated successfully, but these errors were encountered:
Thanks for reporting!
This isn't a restyle bug it looks like:
restyle
var data = [ { z: [[1, 20, 30, 50, 1], [20, 1, 60, 80, 30], [30, 60, 1, -10, 20]], x: ["Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "", ""], y: ["Morning", "Afternoon", "Evening", "", ""], type: "heatmap" } ]; Plotly.newPlot(gd, data, {}, { showSendToCloud: true });
also spits out the same exception.
Sorry, something went wrong.
etpinard
Successfully merging a pull request may close this issue.
when
Plotly.restyle
is called with array with empty values , gives errory: [["Morning", "Afternoon", "Evening", "", ""]]
CODE: https://codepen.io/mafar/pen/agMvEO
See attached image:

The text was updated successfully, but these errors were encountered: