Title: ScatterGL redraw only draws last object · Issue #910 · plotly/plotly.js · GitHub
Open Graph Title: ScatterGL redraw only draws last object · Issue #910 · plotly/plotly.js
X Title: ScatterGL redraw only draws last object · Issue #910 · plotly/plotly.js
Description: 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 scatte...
Open Graph Description: 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...
X Description: 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...
Opengraph URL: https://github.com/plotly/plotly.js/issues/910
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"ScatterGL redraw only draws last object","articleBody":"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.\n\nI'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.\n","author":{"url":"https://github.com/kevinwuhoo","@type":"Person","name":"kevinwuhoo"},"datePublished":"2016-09-07T00:18:06Z","url":"https://github.com/plotly/plotly.js/issues/910"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:791571ae-e4e3-b9d9-9f41-8b665efa1997 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C1A8:2652DC:36F4458:4608513:6B01DC10 |
| html-safe-nonce | 897e3cd0395bbff61fe5d2c66b9d660a0295920d58ba45469dbda13c968d69e1 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMUE4OjI2NTJEQzozNkY0NDU4OjQ2MDg1MTM6NkIwMURDMTAiLCJ2aXNpdG9yX2lkIjoiNjUyNjUwMDU3Mzg1NDk0ODM2OCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 58059d12ae4919ee5104519675b50cd05f2c2527954f33870a8d3ff3f4ad571e |
| hovercard-subject-tag | issue:175382954 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/plotly/plotly.js/910/issue_layout |
| twitter:image | https://opengraph.githubassets.com/2b91c7ca4942e67a46d3272a5e9ed386299da47918e2f9705b7505fe493d34fe/plotly/plotly.js/issues/910 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/2b91c7ca4942e67a46d3272a5e9ed386299da47918e2f9705b7505fe493d34fe/plotly/plotly.js/issues/910 |
| og:image:alt | 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... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | kevinwuhoo |
| hostname | github.com |
| expected-hostname | github.com |
| None | cc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c |
| turbo-cache-control | no-preview |
| go-import | github.com/plotly/plotly.js git https://github.com/plotly/plotly.js.git |
| octolytics-dimension-user_id | 5997976 |
| octolytics-dimension-user_login | plotly |
| octolytics-dimension-repository_id | 45646037 |
| octolytics-dimension-repository_nwo | plotly/plotly.js |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 45646037 |
| octolytics-dimension-repository_network_root_nwo | plotly/plotly.js |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 8c77c9e8439031ad54c75a250694842892f693e1 |
| ui-target | canary-1 |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width