Title: scattergl lines sometimes draws random lines on some hardware · Issue #3522 · plotly/plotly.js · GitHub
Open Graph Title: scattergl lines sometimes draws random lines on some hardware · Issue #3522 · plotly/plotly.js
X Title: scattergl lines sometimes draws random lines on some hardware · Issue #3522 · plotly/plotly.js
Description: I've posted this in the forum: https://community.plot.ly/t/scattergl-causes-strange-lines-to-be-drawn/19189 After investigating a bit further, I'm filing a bug/issue here. The issue is that when the type is set to scattergl, sometime the...
Open Graph Description: I've posted this in the forum: https://community.plot.ly/t/scattergl-causes-strange-lines-to-be-drawn/19189 After investigating a bit further, I'm filing a bug/issue here. The issue is that when th...
X Description: I've posted this in the forum: https://community.plot.ly/t/scattergl-causes-strange-lines-to-be-drawn/19189 After investigating a bit further, I'm filing a bug/issue here. The issue is that...
Opengraph URL: https://github.com/plotly/plotly.js/issues/3522
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"scattergl lines sometimes draws random lines on some hardware","articleBody":"I've posted this in the forum: https://community.plot.ly/t/scattergl-causes-strange-lines-to-be-drawn/19189\r\n\r\nAfter investigating a bit further, I'm filing a bug/issue here.\r\n\r\nThe issue is that when the `type` is set to `scattergl`, sometime the plot will draw random lines extending across the plot. It doesn't seem to happen every time, but I can see it consistently on the example with many points: https://plot.ly/python/webgl-vs-svg/\r\n\r\nIt seems to be dependent on the size of the chart, if I resize my browser window and refresh that example, sometimes the lines appear, sometimes they don't, but it's consistent for that size of my browser window.\r\n\r\nI've added a codepen to randomly draw lines, and if I run it a few times, then I run into the issue: https://codepen.io/anon/pen/qgpbKq\r\n\r\nFor example, one time after running there was as red/blue line across the entire graph:\r\n\r\n\r\nI would provide the exact data set, but as mentioned at the top, it seems to be dependent on the size of the window/plot being drawn (and possibly other factors?), but you should see the error if you run the code pen a few times.\r\n\r\nAny idea what could be causing this? `scattergl` is great for the performance improvements, but looks broken when it's drawing random lines across the whole plot.\r\n\r\nIssue observed in both Chrome/FireFox, some more details:\r\nPlatform: | MacIntel\r\n-- | --\r\nBrowser User Agent: | Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36\r\nContext Name: | webgl2\r\nGL Version: | WebGL 2.0 (OpenGL ES 3.0 Chromium)\r\nShading Language Version: | WebGL GLSL ES 3.00 (OpenGL ES GLSL ES 3.0 Chromium)\r\nVendor: | WebKit\r\nRenderer: | WebKit WebGL\r\nUnmasked Vendor: | NVIDIA Corporation\r\nUnmasked Renderer: | NVIDIA GeForce GT 750M OpenGL Engine\r\n\r\n","author":{"url":"https://github.com/mofojed","@type":"Person","name":"mofojed"},"datePublished":"2019-02-07T16:47:21Z","url":"https://github.com/plotly/plotly.js/issues/3522"}
| 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:3d7fe727-bd53-e915-06ea-d0fc8c0dbd3d |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D0E4:3F8AB1:36B1DF8:457F206:6B01D157 |
| html-safe-nonce | 0d33020675766df065a18a8afeded87e4c0f6488616328b547a2f6a7539a67ec |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMEU0OjNGOEFCMTozNkIxREY4OjQ1N0YyMDY6NkIwMUQxNTciLCJ2aXNpdG9yX2lkIjoiNTgwMDk1NTU0NTI5Mjc1NTI4NyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 546d2f95b4f092d5b1119dbe7e9fe73f10cf8f4ab15920b252968e2e774912b0 |
| hovercard-subject-tag | issue:407795010 |
| 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/3522/issue_layout |
| twitter:image | https://opengraph.githubassets.com/0ba05e2f278ed905f1e8b5b50a878ddd56aa340b6cb520e473216f7abd0edcde/plotly/plotly.js/issues/3522 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/0ba05e2f278ed905f1e8b5b50a878ddd56aa340b6cb520e473216f7abd0edcde/plotly/plotly.js/issues/3522 |
| og:image:alt | I've posted this in the forum: https://community.plot.ly/t/scattergl-causes-strange-lines-to-be-drawn/19189 After investigating a bit further, I'm filing a bug/issue here. The issue is that when th... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | mofojed |
| hostname | github.com |
| expected-hostname | github.com |
| None | cc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c |
| 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 | 8c77c9e8439031ad54c75a250694842892f693e1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width