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
When redrawing using ScatterGL and modifying the array of data, Plotly seems to render only the last data object in an array of data. Here's a minimal example of the bug: http://codepen.io/anon/pen/EgjYGa. If you change scatter to scattergl, it only ends up plotting the last data object (red line) passed to it.
I've circumvented this by calling Plotly.deleteTraces then Plotly.addTraces which seems to accomplish the same thing, but causes an undesirable flicker since all the traces are getting deleted. Adding new traces before deleting the old ones seem to solve the flicker, but temporarily keeps both datasets while you're doing the swap. An example of this workaround is at the bottom of the above codepen. If you uncomment it and leave the type as scattergl, it seems to work.
The text was updated successfully, but these errors were encountered:
When redrawing using ScatterGL and modifying the array of data, Plotly seems to render only the last data object in an array of data. Here's a minimal example of the bug: http://codepen.io/anon/pen/EgjYGa. If you change
scatter
toscattergl
, it only ends up plotting the last data object (red line) passed to it.I've circumvented this by calling
Plotly.deleteTraces
thenPlotly.addTraces
which seems to accomplish the same thing, but causes an undesirable flicker since all the traces are getting deleted. Adding new traces before deleting the old ones seem to solve the flicker, but temporarily keeps both datasets while you're doing the swap. An example of this workaround is at the bottom of the above codepen. If you uncomment it and leave the type asscattergl
, it seems to work.The text was updated successfully, but these errors were encountered: