-
-
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
Plotly restyle doesnt work properly! #748
Comments
Can you clarify what you expect? The syntax you've used assigns the array var update = {
x : [[1],[2],[3],[4],[5]],
y : [[1],[2],[3],[4],[5]],
z : [[1],[2],[3],[4],[5]],
size :[[12],[13],[14],[15],[16]],
'marker.color' : [["#001"],["#005"],["#0f0"],["#f00"],["#00f"]],
text : "size"
}
Plotly.restyle('myDiv', update, [0,1,2,3,4]); |
Extremely Sorry for raising this as issue ! It works as it should. Yes, i wanted to send data to respective traces. |
No prob! I did exactly the same thing a few different ways before getting the update pattern figured out. 👍🏼 |
hey i think this is a probable issue.
When i try to restyle the plot, the plot legend shows only 1 color
Here is the codepen.
http://codepen.io/rudi8292/pen/RRxBAQ
if i click on "Click here for update", the data points get a white colored circle around them.
Thanks!
The text was updated successfully, but these errors were encountered: