Title: Error when adding a new trace to a plot with Plotly.react · Issue #2602 · plotly/plotly.js · GitHub
Open Graph Title: Error when adding a new trace to a plot with Plotly.react · Issue #2602 · plotly/plotly.js
X Title: Error when adding a new trace to a plot with Plotly.react · Issue #2602 · plotly/plotly.js
Description: After updating to plotly.js 1.37.0, I'm getting the following error when adding a trace to a plot that already has at least one trace. This then seems to sometimes cause the trace to not render. Error while plotting: TypeError: Cannot re...
Open Graph Description: After updating to plotly.js 1.37.0, I'm getting the following error when adding a trace to a plot that already has at least one trace. This then seems to sometimes cause the trace to not render. Er...
X Description: After updating to plotly.js 1.37.0, I'm getting the following error when adding a trace to a plot that already has at least one trace. This then seems to sometimes cause the trace to not render...
Opengraph URL: https://github.com/plotly/plotly.js/issues/2602
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Error when adding a new trace to a plot with Plotly.react","articleBody":"After updating to plotly.js 1.37.0, I'm getting the following error when adding a trace to a plot that already has at least one trace. This then seems to sometimes cause the trace to not render.\r\n\r\n```\r\nError while plotting: TypeError: Cannot read property '0' of undefined\r\n at Object.plots.supplyDefaultsUpdateCalc (plotly.js:143231)\r\n at Object.exports.react (plotly.js:123205)\r\n at factory.js:100\r\n\r\n```\r\nRecreated with codepen: https://codepen.io/steph_curried/pen/gzWBQE\r\nI had to use chrome dev tools console, codepens console does not show the error message.\r\n","author":{"url":"https://github.com/tropys","@type":"Person","name":"tropys"},"datePublished":"2018-05-02T13:28:56Z","url":"https://github.com/plotly/plotly.js/issues/2602"}
| 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:81653304-6660-9ada-b9d8-638e5fb353b2 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | AC76:3D97C8:DD9652:128768B:6B0103C4 |
| html-safe-nonce | 4053d7a4d3a949f2de30af072c4a4fa8ad336cfae0791c1c501bce395c429058 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBQzc2OjNEOTdDODpERDk2NTI6MTI4NzY4Qjo2QjAxMDNDNCIsInZpc2l0b3JfaWQiOiIzNzg5NTc1MzE3Nzk5MTA5NTczIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 5f34651b7058207642fe066fe857a0cc553bb033cb519cf78d649a576af8faa0 |
| hovercard-subject-tag | issue:319552482 |
| 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/2602/issue_layout |
| twitter:image | https://opengraph.githubassets.com/530f17da25d99d8bad85716a1b9097daf303d4823613a980fd772a7736fbd47b/plotly/plotly.js/issues/2602 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/530f17da25d99d8bad85716a1b9097daf303d4823613a980fd772a7736fbd47b/plotly/plotly.js/issues/2602 |
| og:image:alt | After updating to plotly.js 1.37.0, I'm getting the following error when adding a trace to a plot that already has at least one trace. This then seems to sometimes cause the trace to not render. Er... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | tropys |
| hostname | github.com |
| expected-hostname | github.com |
| None | cb7fa109eca7d4156c889f474306b0e91336055e9adf8fd4684b61e49094d124 |
| 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 | 2b59d31a4e44f08b7af67a4b67f8fd0af3befe2a |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width