{"action":"closed","issue":{"url":"https://api.github.com/repos/plotly/plotly.js/issues/2585","repository_url":"https://api.github.com/repos/plotly/plotly.js","labels_url":"https://api.github.com/repos/plotly/plotly.js/issues/2585/labels{/name}","comments_url":"https://api.github.com/repos/plotly/plotly.js/issues/2585/comments","events_url":"https://api.github.com/repos/plotly/plotly.js/issues/2585/events","html_url":"https://github.com/plotly/plotly.js/issues/2585","id":318470112,"number":2585,"title":"SPLOM points not displayed with TypedArrays","user":{"login":"jmmease","id":15064365,"avatar_url":"https://avatars1.githubusercontent.com/u/15064365?v=4","gravatar_id":"","url":"https://api.github.com/users/jmmease","html_url":"https://github.com/jmmease","followers_url":"https://api.github.com/users/jmmease/followers","following_url":"https://api.github.com/users/jmmease/following{/other_user}","gists_url":"https://api.github.com/users/jmmease/gists{/gist_id}","starred_url":"https://api.github.com/users/jmmease/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmmease/subscriptions","organizations_url":"https://api.github.com/users/jmmease/orgs","repos_url":"https://api.github.com/users/jmmease/repos","events_url":"https://api.github.com/users/jmmease/events{/privacy}","received_events_url":"https://api.github.com/users/jmmease/received_events","type":"User","site_admin":false},"labels":[{"id":282886923,"url":"https://api.github.com/repos/plotly/plotly.js/labels/type:%20bug","name":"type: bug","color":"e31a1c","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2018-04-27T16:19:57Z","updated_at":"2018-05-01T22:28:22Z","closed_at":"2018-05-01T22:28:22Z","author_association":"NONE","body":"I'm not sure if this is a bug report or a feature request, but it seems that the new SPLOM trace type does not support typed arrays as the `values` property of a `dimension` (on version `1.36.1`).\r\n\r\nCodepen: https://codepen.io/anon/pen/LmbQdv\r\n\r\n```\r\nTESTER = document.getElementById('tester');\r\n\r\nPlotly.plot( TESTER,\r\n\t\t\t  [{\r\n    \"type\": \"splom\",\r\n    \"dimensions\": [{\r\n      \"values\": new Int32Array([1, 2, 3]),\r\n      //\"values\": [1, 2, 3],\r\n      \"label\": \"A\"\r\n    }, {\r\n      \"values\": new Int32Array([2, 5, 6]),\r\n \t   //\"values\": [2, 5, 6],\r\n      \"label\": \"B\"\r\n    }]\r\n  }]);\r\n```\r\nWhen I run this in Chrome (*65.0.3325.181 (Official Build) (64-bit)*) I see the axes displayed but no data points.  I also get the following warning in the chrome developer console:\r\n\r\n```\r\n[.Offscreen-For-WebGL-0x7fdce8449c00]GL ERROR :GL_INVALID_OPERATION : glDrawArrays: attempt to access out of range vertices in attribute 3\r\n```\r\n\r\nIf the `Int32Array`s are replaced by standard arrays then the points display as I would expect.\r\n"}}
{"actor":{"display_login":"etpinard"}}