Title: New Plotly.js update broke ? ''ERROR TypeError: Cannot read property 'map' of undefined'' · Issue #30 · plotly/angular-plotly.js · GitHub
Open Graph Title: New Plotly.js update broke ? ''ERROR TypeError: Cannot read property 'map' of undefined'' · Issue #30 · plotly/angular-plotly.js
X Title: New Plotly.js update broke ? ''ERROR TypeError: Cannot read property 'map' of undefined'' · Issue #30 · plotly/angular-plotly.js
Description: Hi, I've been using plotly for quite some time now and everything in my app was working rather fine. However, since about 12 days ago, my app stopped working without any change in the code. Plotly.newPlot( this.layout['title'], this.trac...
Open Graph Description: Hi, I've been using plotly for quite some time now and everything in my app was working rather fine. However, since about 12 days ago, my app stopped working without any change in the code. Plotly....
X Description: Hi, I've been using plotly for quite some time now and everything in my app was working rather fine. However, since about 12 days ago, my app stopped working without any change in the code. Plo...
Opengraph URL: https://github.com/plotly/angular-plotly.js/issues/30
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"New Plotly.js update broke ? ''ERROR TypeError: Cannot read property 'map' of undefined''","articleBody":"Hi,\r\n\r\nI've been using plotly for quite some time now and everything in my app was working rather fine.\r\nHowever, since about 12 days ago, my app stopped working without any change in the code.\r\n\r\n```\r\n Plotly.newPlot(\r\n this.layout['title'], \r\n this.traces, this.layout, \r\n this.options); \r\n```\r\nor Plotly.update give the same error :\r\n\r\n```\r\nERROR TypeError: Cannot read property 'map' of undefined\r\n at Object.r.coerceTraceIndices (plotly-latest.min.js:7)\r\n at Object.J [as update] (plotly-latest.min.js:7)\r\n at SafeSubscriber.eval [as _next] (chart.component.ts:93)\r\n at SafeSubscriber.__tryOrUnsub (Subscriber.js:243)\r\n at SafeSubscriber.next (Subscriber.js:190)\r\n at Subscriber._next (Subscriber.js:131)\r\n at Subscriber.next (Subscriber.js:95)\r\n at AsyncAction.IntervalObservable.dispatch (IntervalObservable.js:80)\r\n at AsyncAction._execute (AsyncAction.js:119)\r\n at AsyncAction.execute (AsyncAction.js:94)\r\n```\r\n\r\n**I can provide the contents of 'this.layout', 'this.traces' and 'this.options' if necessary.**\r\n\r\nI've noticed that a few hours before this problem, plotly.js had been updated with version [1.43.0](https://github.com/plotly/plotly.js/releases/tag/v1.43.0)\r\nIs it due to an API change that would cause the angular wrapper to malfunction?\r\n\r\nCan anyone tell me if they have had issues with it too since the update?\r\n\r\nFor now the fix I've made is to specify in head : \r\n`\u003cscript src=\"https://cdn.plot.ly/plotly-1.42.5.min.js\"\u003e\u003c/script\u003e`\r\nRather than the latest.","author":{"url":"https://github.com/Alterock13","@type":"Person","name":"Alterock13"},"datePublished":"2018-12-31T08:34:52.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":9},"url":"https://github.com/30/angular-plotly.js/issues/30"}
| 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:75245c38-5a7f-ca14-e6f5-7ae7aef34c0a |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D036:B4B64:35FF7:4A195:6A5A6466 |
| html-safe-nonce | ac9c10d61ab14f929bcf4d57752c9804e742d80d438b7ba77eb8f0ec65359e6d |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMDM2OkI0QjY0OjM1RkY3OjRBMTk1OjZBNUE2NDY2IiwidmlzaXRvcl9pZCI6Ijg2MTc1NDAzNjcyMzAzMjk5NTgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 9e08f715d516854147fbc99df10bb86c9031e93b3a7bf4e661b0f9a987d9fe76 |
| hovercard-subject-tag | issue:394946795 |
| 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/angular-plotly.js/30/issue_layout |
| twitter:image | https://opengraph.githubassets.com/6b795fc466c73023f20f07b9c2189da8378bccd7eb483a34e0b42ccae38bdb2d/plotly/angular-plotly.js/issues/30 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/6b795fc466c73023f20f07b9c2189da8378bccd7eb483a34e0b42ccae38bdb2d/plotly/angular-plotly.js/issues/30 |
| og:image:alt | Hi, I've been using plotly for quite some time now and everything in my app was working rather fine. However, since about 12 days ago, my app stopped working without any change in the code. Plotly.... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | Alterock13 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 05b9ddf6a47d2dbe13944873a99f5fb4b83ba4871f9cb8a8e256793a63ca9687 |
| turbo-cache-control | no-preview |
| go-import | github.com/plotly/angular-plotly.js git https://github.com/plotly/angular-plotly.js.git |
| octolytics-dimension-user_id | 5997976 |
| octolytics-dimension-user_login | plotly |
| octolytics-dimension-repository_id | 125262347 |
| octolytics-dimension-repository_nwo | plotly/angular-plotly.js |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 125262347 |
| octolytics-dimension-repository_network_root_nwo | plotly/angular-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 | f8d29d1bd03dda2dd14b3f80b8bc27e1111f43bd |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width