Title: In a multi-trace figure the traces that are not animated get invisible when animation starts · Issue #4596 · plotly/plotly.js · GitHub
Open Graph Title: In a multi-trace figure the traces that are not animated get invisible when animation starts · Issue #4596 · plotly/plotly.js
X Title: In a multi-trace figure the traces that are not animated get invisible when animation starts · Issue #4596 · plotly/plotly.js
Description: Recently I noticed that the old definition of animation frames doesn't work anymore. More precisely: if I define a subplot with two cells, for example, and want to animate only the traces in a single subplot, then by the initial definiti...
Open Graph Description: Recently I noticed that the old definition of animation frames doesn't work anymore. More precisely: if I define a subplot with two cells, for example, and want to animate only the traces in a sing...
X Description: Recently I noticed that the old definition of animation frames doesn't work anymore. More precisely: if I define a subplot with two cells, for example, and want to animate only the traces in a ...
Opengraph URL: https://github.com/plotly/plotly.js/issues/4596
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"In a multi-trace figure the traces that are not animated get invisible when animation starts","articleBody":"Recently I noticed that the old definition of animation frames doesn't work anymore.\r\nMore precisely: if I define a subplot with two cells, for example, and want to animate only the traces in a single subplot, then by the initial definition from 2016, I had to set the attribute `Frame.traces` on the list of trace indices in `fig.data` that are modified from frame to frame. All other traces were visible during the animation.\r\n\r\nAfter a recent plotly.js release (I couldn't identify it) the traces that are not modified within `Frame.data` disappear when the animation starts, and I have to extend the list `Frame.traces` to the list of all traces in `fig.data` because those that are not modified from frame to frame are set invisible by plotly.js. Hence `Frame.data` must contain the update `visible=True` for these ones.\r\n\r\nMy question is: is it possible to revert the Frame definition to the old one? Why let users make these settings (`visible=True`), and why they are not performed automatically by plotly.js, as it did\r\nfor three years?\r\n\r\nHere is a simple example to understand better what I'm referring to:\r\n[https://plot.ly/~empet/15543/](https://plot.ly/~empet/15543/)\r\n","author":{"url":"https://github.com/empet","@type":"Person","name":"empet"},"datePublished":"2020-02-21T09:45:24.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":7},"url":"https://github.com/4596/plotly.js/issues/4596"}
| 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:036f2b61-a435-552f-caf7-f6a16a0e31d3 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 975C:1269E2:1356469:1BA19F5:6A5A214F |
| html-safe-nonce | 3170b4188e3cc6ac598408b50c0ae87fb32ad8a00139a8ffa6cf1a29138f5d2e |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NzVDOjEyNjlFMjoxMzU2NDY5OjFCQTE5RjU6NkE1QTIxNEYiLCJ2aXNpdG9yX2lkIjoiODE0MjY3ODY1MTE1NjcwMTUxOSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 74d5bb59a13111dfa02772c35610eb8ff7d6d0f2828d116ec0aef828b9675efe |
| hovercard-subject-tag | issue:568846352 |
| 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/4596/issue_layout |
| twitter:image | https://opengraph.githubassets.com/92b585f786d70851fc97b121462783d6241dde1fe24b198bcfb56383d1f0d42b/plotly/plotly.js/issues/4596 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/92b585f786d70851fc97b121462783d6241dde1fe24b198bcfb56383d1f0d42b/plotly/plotly.js/issues/4596 |
| og:image:alt | Recently I noticed that the old definition of animation frames doesn't work anymore. More precisely: if I define a subplot with two cells, for example, and want to animate only the traces in a sing... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | empet |
| hostname | github.com |
| expected-hostname | github.com |
| None | e31742e80bbd077fd5679c13ed870ce4e0c13803a2fa5beaae557b6769de2c8a |
| 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 | c9fcdbf98c619d1561ed843fa01d9766a32b5cd9 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width