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
I am trying to dynamically adjust the color of a scatter plot. However, if I use the colorscale attribute, the selected color is simply ignored. It just uses the default color scale:
this.data.push({ x: x, y: y, type: 'scatter', mode: 'markers', marker: { colorscale: 'ice', color: x } })
(The colorscale "ice" is supposed to be blue.)
Furthermore, if remove I remove the parameter colorscale I get the same result as described above and if I remove the color attribute it uses one default color for all markers.
I am grateful for any input.
Thx
The text was updated successfully, but these errors were encountered:
Hi,
I am trying to dynamically adjust the color of a scatter plot. However, if I use the colorscale attribute, the selected color is simply ignored. It just uses the default color scale:
this.data.push({ x: x, y: y, type: 'scatter', mode: 'markers', marker: { colorscale: 'ice', color: x } })
(The colorscale "ice" is supposed to be blue.)
Furthermore, if remove I remove the parameter colorscale I get the same result as described above and if I remove the color attribute it uses one default color for all markers.
I am grateful for any input.
Thx
The text was updated successfully, but these errors were encountered: