Title: .animate method that can handle any type of figure diff · Issue #1849 · plotly/plotly.js · GitHub
Open Graph Title: .animate method that can handle any type of figure diff · Issue #1849 · plotly/plotly.js
X Title: .animate method that can handle any type of figure diff · Issue #1849 · plotly/plotly.js
Description: In Dash, I'd like users to be able to toggle on and off an animate property which would either smoothly transition points (if available) or just update the chart. Right now, Plotly.animate doesn't work with all chart transitions and data...
Open Graph Description: In Dash, I'd like users to be able to toggle on and off an animate property which would either smoothly transition points (if available) or just update the chart. Right now, Plotly.animate doesn't ...
X Description: In Dash, I'd like users to be able to toggle on and off an animate property which would either smoothly transition points (if available) or just update the chart. Right now, Plotly.animate does...
Opengraph URL: https://github.com/plotly/plotly.js/issues/1849
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":".animate method that can handle any type of figure diff","articleBody":"In Dash, I'd like users to be able to toggle on and off an `animate` property which would either smoothly transition points (if available) or just update the chart.\r\n\r\nRight now, `Plotly.animate` doesn't work with all chart transitions and data transitions. While I could program this myself in the Graph component, it would be great if `plotly.js` could do this so that everyone could benefit. We could even use this in the workspace to smooth out transitions!\r\n\r\nIdeally, I would just replace the `.newPlot(id, data, layout)` call with a `.animate(id, data, layout)` call and call it a day.\r\n\r\nIn particular, here are some of the edge cases:\r\n- `.animate` to work before `.plot` is called\r\n- `.animate` to work across all chart types (even if it's not a smooth animation)\r\n- `.animate` to autorange (expand axes if the new data was larger than the existing data)\r\n- `.animate` when new traces are added or removed\r\n- `.animate` when chart types have been changed\r\n\r\nI'm OK if this is a new method or a new config option or whatever.\r\n\r\n***\r\n\r\ncc @rreusser @alexcjohnson @etpinard @cpsievert @monfera @jackparmer","author":{"url":"https://github.com/chriddyp","@type":"Person","name":"chriddyp"},"datePublished":"2017-07-04T17:35:05.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":14},"url":"https://github.com/1849/plotly.js/issues/1849"}
| 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:edaa8913-9bab-6b28-d8d2-3280b6bd491b |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A752:1383A9:1B26F0:26A499:6A572245 |
| html-safe-nonce | d8774460cafdbaedd111a47f7237a9eb21d416257ba3f1d31fd8fc5a2c93dda1 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNzUyOjEzODNBOToxQjI2RjA6MjZBNDk5OjZBNTcyMjQ1IiwidmlzaXRvcl9pZCI6Ijg0ODU3MjI5ODA0ODc3MzM4MjkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | edcce9af00be718015212df077dbb542bf512c31ebf50e792d49e6152b70f68f |
| hovercard-subject-tag | issue:240473191 |
| 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/1849/issue_layout |
| twitter:image | https://opengraph.githubassets.com/b4b166412e5a8b2d3933c62a844208a370580fd46e6fd8ea92c98879fa5428a5/plotly/plotly.js/issues/1849 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/b4b166412e5a8b2d3933c62a844208a370580fd46e6fd8ea92c98879fa5428a5/plotly/plotly.js/issues/1849 |
| og:image:alt | In Dash, I'd like users to be able to toggle on and off an animate property which would either smoothly transition points (if available) or just update the chart. Right now, Plotly.animate doesn't ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | chriddyp |
| hostname | github.com |
| expected-hostname | github.com |
| None | 4e7a7296a3830877cf21a6ad2a972c9e618a48915e03966cf0c53eb08e5aad98 |
| 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 | 2576d1f0198cf1588faf2edf27f1ed120903be10 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width