Title: Scatter3D lines+markers with line color array error · Issue #2873 · plotly/plotly.js · GitHub
Open Graph Title: Scatter3D lines+markers with line color array error · Issue #2873 · plotly/plotly.js
X Title: Scatter3D lines+markers with line color array error · Issue #2873 · plotly/plotly.js
Description: For the scatter3d trace type, an error condition occurs when the line.color property is specified as a numeric array and markers is included in the mode flaglist. Issue originally reported in of plotly/plotly.py#1093 CodePen: https://cod...
Open Graph Description: For the scatter3d trace type, an error condition occurs when the line.color property is specified as a numeric array and markers is included in the mode flaglist. Issue originally reported in of pl...
X Description: For the scatter3d trace type, an error condition occurs when the line.color property is specified as a numeric array and markers is included in the mode flaglist. Issue originally reported in of pl...
Opengraph URL: https://github.com/plotly/plotly.js/issues/2873
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Scatter3D lines+markers with line color array error","articleBody":"For the `scatter3d` trace type, an error condition occurs when the `line.color` property is specified as a numeric array *and* `markers` is included in the `mode` flaglist.\r\n\r\nIssue originally reported in of https://github.com/plotly/plotly.py/issues/1093\r\n\r\nCodePen: https://codepen.io/anon/pen/ZjjORB\r\n\r\n```javascript\r\nx = [0, 0, 0]\r\ny = [1, 1, 1]\r\nz = [1, 2, 3]\r\nc = [0, 1, 2]\r\nvar trace1 = {\r\n type: 'scatter3d',\r\n x: x,\r\n y: y,\r\n z: z,\r\n // mode: \"lines\",\r\n mode: \"lines+markers\",\r\n line: {\r\n color: c,\r\n showscale: true,\r\n width: 10\r\n }\r\n}\r\n\r\n\r\nvar data = [ trace1 ];\r\n\r\nvar layout = {};\r\n\r\nPlotly.newPlot('myDiv', data, layout);\r\n```\r\n\r\nWhen running example against `plotly-latest.js` I get the following JavaScript console error\r\n\r\n```\r\nTypeError: inputContainer is undefined\r\n\r\ndoUpdate\r\n https://cdn.plot.ly/plotly-latest.js:79899:13\r\ncalc\r\n https://cdn.plot.ly/plotly-latest.js:79940:5\r\ncalcMarkerColorscale\r\n https://cdn.plot.ly/plotly-latest.js:156566:13\r\ncalc\r\n https://cdn.plot.ly/plotly-latest.js:158689:5\r\ncalci\r\n https://cdn.plot.ly/plotly-latest.js:127889:22\r\n[795]\u003c/plots.doCalcdata\r\n https://cdn.plot.ly/plotly-latest.js:127913:42\r\n[719]\u003c/exports.plot\r\n https://cdn.plot.ly/plotly-latest.js:102574:16\r\n[719]\u003c/exports.newPlot\r\n https://cdn.plot.ly/plotly-latest.js:102973:12\r\n```","author":{"url":"https://github.com/jonmmease","@type":"Person","name":"jonmmease"},"datePublished":"2018-08-05T10:09:07.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/2873/plotly.js/issues/2873"}
| 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:fb3e43a6-7cf2-00a9-3c14-82879c5c3ce1 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D8C4:5DB41:47AA33:64B983:6A57BCA3 |
| html-safe-nonce | 5c66023feec2d861789b362e04b0f14cdc63b4bd1c174f04bee4080d1936cc61 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEOEM0OjVEQjQxOjQ3QUEzMzo2NEI5ODM6NkE1N0JDQTMiLCJ2aXNpdG9yX2lkIjoiNDA1NjYzMDMwMjU3OTYwNDY0MyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | eb92efffb78838fd9231795b2a5886e75ed80f9e7f7f0596bc0f7312b6f2e2a7 |
| hovercard-subject-tag | issue:347685348 |
| 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/2873/issue_layout |
| twitter:image | https://opengraph.githubassets.com/499b6fb5390aae3a58e1a5430f45557a132eefdb7653d9a78c641ac62dddd99e/plotly/plotly.js/issues/2873 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/499b6fb5390aae3a58e1a5430f45557a132eefdb7653d9a78c641ac62dddd99e/plotly/plotly.js/issues/2873 |
| og:image:alt | For the scatter3d trace type, an error condition occurs when the line.color property is specified as a numeric array and markers is included in the mode flaglist. Issue originally reported in of pl... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | jonmmease |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5bf9f84655de1d0e9aa064cd3b2bc9703556c68ae53b94e21b872b7e9f1f7cc1 |
| 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 | 9e5a4d2583d61726264f5ec9440b26ec7a94eb3f |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width