{"action":"created","comment":{"url":"https://api.github.com/repos/biolab/orange3/pulls/comments/108753064","pull_request_review_id":29805782,"id":108753064,"diff_hunk":"@@ -47,7 +47,9 @@ def _compute_scaled_data(self):\n             return\n \n         Y = data.Y if data.Y.ndim == 2 else np.atleast_2d(data.Y).T\n-        self.original_data = np.hstack((data.X, Y)).T\n+        self.original_data = np.hstack((data.X if \"csr_matrix\" not in str(type(data.X))\n+                                        else data.X.toarray(),","path":"Orange/widgets/utils/scaling.py","position":6,"original_position":6,"commit_id":"aaf5dcaf45729329128d43119d463319ef237408","original_commit_id":"aaf5dcaf45729329128d43119d463319ef237408","user":{"login":"jerneju","id":22157215,"avatar_url":"https://avatars1.githubusercontent.com/u/22157215?v=3","gravatar_id":"","url":"https://api.github.com/users/jerneju","html_url":"https://github.com/jerneju","followers_url":"https://api.github.com/users/jerneju/followers","following_url":"https://api.github.com/users/jerneju/following{/other_user}","gists_url":"https://api.github.com/users/jerneju/gists{/gist_id}","starred_url":"https://api.github.com/users/jerneju/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jerneju/subscriptions","organizations_url":"https://api.github.com/users/jerneju/orgs","repos_url":"https://api.github.com/users/jerneju/repos","events_url":"https://api.github.com/users/jerneju/events{/privacy}","received_events_url":"https://api.github.com/users/jerneju/received_events","type":"User","site_admin":false},"body":"Yes, firstly I used scipy's hstack. But as you warned me, then there are problems with `self.original_data`.","created_at":"2017-03-29T18:33:10Z","updated_at":"2017-03-29T18:33:10Z","html_url":"https://github.com/biolab/orange3/pull/2152#discussion_r108753064","pull_request_url":"https://api.github.com/repos/biolab/orange3/pulls/2152","_links":{"self":{"href":"https://api.github.com/repos/biolab/orange3/pulls/comments/108753064"},"html":{"href":"https://github.com/biolab/orange3/pull/2152#discussion_r108753064"},"pull_request":{"href":"https://api.github.com/repos/biolab/orange3/pulls/2152"}}},"pull_request":{"url":"https://api.github.com/repos/biolab/orange3/pulls/2152","id":113224163,"html_url":"https://github.com/biolab/orange3/pull/2152","diff_url":"https://github.com/biolab/orange3/pull/2152.diff","patch_url":"https://github.com/biolab/orange3/pull/2152.patch","issue_url":"https://api.github.com/repos/biolab/orange3/issues/2152","number":2152,"state":"open","locked":false,"title":"[FIX] Scatter Plot: dealing with scipy sparse matrix","user":{"login":"jerneju","id":22157215,"avatar_url":"https://avatars1.githubusercontent.com/u/22157215?v=3","gravatar_id":"","url":"https://api.github.com/users/jerneju","html_url":"https://github.com/jerneju","followers_url":"https://api.github.com/users/jerneju/followers","following_url":"https://api.github.com/users/jerneju/following{/other_user}","gists_url":"https://api.github.com/users/jerneju/gists{/gist_id}","starred_url":"https://api.github.com/users/jerneju/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jerneju/subscriptions","organizations_url":"https://api.github.com/users/jerneju/orgs","repos_url":"https://api.github.com/users/jerneju/repos","events_url":"https://api.github.com/users/jerneju/events{/privacy}","received_events_url":"https://api.github.com/users/jerneju/received_events","type":"User","site_admin":false},"body":"##### Issue\r\nOrange add-on \"Text mining\" sends \"Corpus\" instead of \"Table\". \"Corpus\" uses sparse matrices and numpy hstack does not know how to handle them. That is why scipy sparse matrix is converted into numpy array.\r\nhttps://sentry.io/biolab/orange3/issues/243775748/\r\n\r\n\r\n##### Description of changes\r\n\r\n\r\n##### Includes\r\n- [X] Code changes\r\n- [ ] Tests\r\n- [ ] Documentation\r\n","created_at":"2017-03-29T15:19:06Z","updated_at":"2017-03-29T18:33:10Z","closed_at":null,"merged_at":null,"merge_commit_sha":"12247a493d3566964b76415247dca13638c2f36a","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/biolab/orange3/pulls/2152/commits","review_comments_url":"https://api.github.com/repos/biolab/orange3/pulls/2152/comments","review_comment_url":"https://api.github.com/repos/biolab/orange3/pulls/comments{/number}","comments_url":"https://api.github.com/repos/biolab/orange3/issues/2152/comments","statuses_url":"https://api.github.com/repos/biolab/orange3/statuses/aaf5dcaf45729329128d43119d463319ef237408","head":{"label":"jerneju:value-scatterplot","ref":"value-scatterplot","sha":"aaf5dcaf45729329128d43119d463319ef237408","user":{"login":"jerneju","id":22157215,"avatar_url":"https://avatars1.githubusercontent.com/u/22157215?v=3","gravatar_id":"","url":"https://api.github.com/users/jerneju","html_url":"https://github.com/jerneju","followers_url":"https://api.github.com/users/jerneju/followers","following_url":"https://api.github.com/users/jerneju/following{/other_user}","gists_url":"https://api.github.com/users/jerneju/gists{/gist_id}","starred_url":"https://api.github.com/users/jerneju/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jerneju/subscriptions","organizations_url":"https://api.github.com/users/jerneju/orgs","repos_url":"https://api.github.com/users/jerneju/repos","events_url":"https://api.github.com/users/jerneju/events{/privacy}","received_events_url":"https://api.github.com/users/jerneju/received_events","type":"User","site_admin":false},"repo":{"id":81074517,"name":"orange3","full_name":"jerneju/orange3","owner":{"login":"jerneju","id":22157215,"avatar_url":"https://avatars1.githubusercontent.com/u/22157215?v=3","gravatar_id":"","url":"https://api.github.com/users/jerneju","html_url":"https://github.com/jerneju","followers_url":"https://api.github.com/users/jerneju/followers","following_url":"https://api.github.com/users/jerneju/following{/other_user}","gists_url":"https://api.github.com/users/jerneju/gists{/gist_id}","starred_url":"https://api.github.com/users/jerneju/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jerneju/subscriptions","organizations_url":"https://api.github.com/users/jerneju/orgs","repos_url":"https://api.github.com/users/jerneju/repos","events_url":"https://api.github.com/users/jerneju/events{/privacy}","received_events_url":"https://api.github.com/users/jerneju/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jerneju/orange3","description":"Orange 3 data mining suite: http://orange.biolab.si ","fork":true,"url":"https://api.github.com/repos/jerneju/orange3","forks_url":"https://api.github.com/repos/jerneju/orange3/forks","keys_url":"https://api.github.com/repos/jerneju/orange3/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jerneju/orange3/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jerneju/orange3/teams","hooks_url":"https://api.github.com/repos/jerneju/orange3/hooks","issue_events_url":"https://api.github.com/repos/jerneju/orange3/issues/events{/number}","events_url":"https://api.github.com/repos/jerneju/orange3/events","assignees_url":"https://api.github.com/repos/jerneju/orange3/assignees{/user}","branches_url":"https://api.github.com/repos/jerneju/orange3/branches{/branch}","tags_url":"https://api.github.com/repos/jerneju/orange3/tags","blobs_url":"https://api.github.com/repos/jerneju/orange3/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jerneju/orange3/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jerneju/orange3/git/refs{/sha}","trees_url":"https://api.github.com/repos/jerneju/orange3/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jerneju/orange3/statuses/{sha}","languages_url":"https://api.github.com/repos/jerneju/orange3/languages","stargazers_url":"https://api.github.com/repos/jerneju/orange3/stargazers","contributors_url":"https://api.github.com/repos/jerneju/orange3/contributors","subscribers_url":"https://api.github.com/repos/jerneju/orange3/subscribers","subscription_url":"https://api.github.com/repos/jerneju/orange3/subscription","commits_url":"https://api.github.com/repos/jerneju/orange3/commits{/sha}","git_commits_url":"https://api.github.com/repos/jerneju/orange3/git/commits{/sha}","comments_url":"https://api.github.com/repos/jerneju/orange3/comments{/number}","issue_comment_url":"https://api.github.com/repos/jerneju/orange3/issues/comments{/number}","contents_url":"https://api.github.com/repos/jerneju/orange3/contents/{+path}","compare_url":"https://api.github.com/repos/jerneju/orange3/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jerneju/orange3/merges","archive_url":"https://api.github.com/repos/jerneju/orange3/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jerneju/orange3/downloads","issues_url":"https://api.github.com/repos/jerneju/orange3/issues{/number}","pulls_url":"https://api.github.com/repos/jerneju/orange3/pulls{/number}","milestones_url":"https://api.github.com/repos/jerneju/orange3/milestones{/number}","notifications_url":"https://api.github.com/repos/jerneju/orange3/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jerneju/orange3/labels{/name}","releases_url":"https://api.github.com/repos/jerneju/orange3/releases{/id}","deployments_url":"https://api.github.com/repos/jerneju/orange3/deployments","created_at":"2017-02-06T10:14:48Z","updated_at":"2017-02-06T10:14:53Z","pushed_at":"2017-03-29T15:16:45Z","git_url":"git://github.com/jerneju/orange3.git","ssh_url":"git@github.com:jerneju/orange3.git","clone_url":"https://github.com/jerneju/orange3.git","svn_url":"https://github.com/jerneju/orange3","homepage":"","size":58706,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"biolab:master","ref":"master","sha":"412e4098d3a74ba0c5caf0fe403911cb927b7817","user":{"login":"biolab","id":555189,"avatar_url":"https://avatars3.githubusercontent.com/u/555189?v=3","gravatar_id":"","url":"https://api.github.com/users/biolab","html_url":"https://github.com/biolab","followers_url":"https://api.github.com/users/biolab/followers","following_url":"https://api.github.com/users/biolab/following{/other_user}","gists_url":"https://api.github.com/users/biolab/gists{/gist_id}","starred_url":"https://api.github.com/users/biolab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/biolab/subscriptions","organizations_url":"https://api.github.com/users/biolab/orgs","repos_url":"https://api.github.com/users/biolab/repos","events_url":"https://api.github.com/users/biolab/events{/privacy}","received_events_url":"https://api.github.com/users/biolab/received_events","type":"Organization","site_admin":false},"repo":{"id":8357227,"name":"orange3","full_name":"biolab/orange3","owner":{"login":"biolab","id":555189,"avatar_url":"https://avatars3.githubusercontent.com/u/555189?v=3","gravatar_id":"","url":"https://api.github.com/users/biolab","html_url":"https://github.com/biolab","followers_url":"https://api.github.com/users/biolab/followers","following_url":"https://api.github.com/users/biolab/following{/other_user}","gists_url":"https://api.github.com/users/biolab/gists{/gist_id}","starred_url":"https://api.github.com/users/biolab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/biolab/subscriptions","organizations_url":"https://api.github.com/users/biolab/orgs","repos_url":"https://api.github.com/users/biolab/repos","events_url":"https://api.github.com/users/biolab/events{/privacy}","received_events_url":"https://api.github.com/users/biolab/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/biolab/orange3","description":":tangerine: Orange 3 data mining suite: http://orange.biolab.si ","fork":false,"url":"https://api.github.com/repos/biolab/orange3","forks_url":"https://api.github.com/repos/biolab/orange3/forks","keys_url":"https://api.github.com/repos/biolab/orange3/keys{/key_id}","collaborators_url":"https://api.github.com/repos/biolab/orange3/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/biolab/orange3/teams","hooks_url":"https://api.github.com/repos/biolab/orange3/hooks","issue_events_url":"https://api.github.com/repos/biolab/orange3/issues/events{/number}","events_url":"https://api.github.com/repos/biolab/orange3/events","assignees_url":"https://api.github.com/repos/biolab/orange3/assignees{/user}","branches_url":"https://api.github.com/repos/biolab/orange3/branches{/branch}","tags_url":"https://api.github.com/repos/biolab/orange3/tags","blobs_url":"https://api.github.com/repos/biolab/orange3/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/biolab/orange3/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/biolab/orange3/git/refs{/sha}","trees_url":"https://api.github.com/repos/biolab/orange3/git/trees{/sha}","statuses_url":"https://api.github.com/repos/biolab/orange3/statuses/{sha}","languages_url":"https://api.github.com/repos/biolab/orange3/languages","stargazers_url":"https://api.github.com/repos/biolab/orange3/stargazers","contributors_url":"https://api.github.com/repos/biolab/orange3/contributors","subscribers_url":"https://api.github.com/repos/biolab/orange3/subscribers","subscription_url":"https://api.github.com/repos/biolab/orange3/subscription","commits_url":"https://api.github.com/repos/biolab/orange3/commits{/sha}","git_commits_url":"https://api.github.com/repos/biolab/orange3/git/commits{/sha}","comments_url":"https://api.github.com/repos/biolab/orange3/comments{/number}","issue_comment_url":"https://api.github.com/repos/biolab/orange3/issues/comments{/number}","contents_url":"https://api.github.com/repos/biolab/orange3/contents/{+path}","compare_url":"https://api.github.com/repos/biolab/orange3/compare/{base}...{head}","merges_url":"https://api.github.com/repos/biolab/orange3/merges","archive_url":"https://api.github.com/repos/biolab/orange3/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/biolab/orange3/downloads","issues_url":"https://api.github.com/repos/biolab/orange3/issues{/number}","pulls_url":"https://api.github.com/repos/biolab/orange3/pulls{/number}","milestones_url":"https://api.github.com/repos/biolab/orange3/milestones{/number}","notifications_url":"https://api.github.com/repos/biolab/orange3/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/biolab/orange3/labels{/name}","releases_url":"https://api.github.com/repos/biolab/orange3/releases{/id}","deployments_url":"https://api.github.com/repos/biolab/orange3/deployments","created_at":"2013-02-22T12:52:56Z","updated_at":"2017-03-28T21:39:11Z","pushed_at":"2017-03-29T15:19:06Z","git_url":"git://github.com/biolab/orange3.git","ssh_url":"git@github.com:biolab/orange3.git","clone_url":"https://github.com/biolab/orange3.git","svn_url":"https://github.com/biolab/orange3","homepage":"","size":58665,"stargazers_count":729,"watchers_count":729,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":225,"mirror_url":null,"open_issues_count":117,"forks":225,"open_issues":117,"watchers":729,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/biolab/orange3/pulls/2152"},"html":{"href":"https://github.com/biolab/orange3/pull/2152"},"issue":{"href":"https://api.github.com/repos/biolab/orange3/issues/2152"},"comments":{"href":"https://api.github.com/repos/biolab/orange3/issues/2152/comments"},"review_comments":{"href":"https://api.github.com/repos/biolab/orange3/pulls/2152/comments"},"review_comment":{"href":"https://api.github.com/repos/biolab/orange3/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/biolab/orange3/pulls/2152/commits"},"statuses":{"href":"https://api.github.com/repos/biolab/orange3/statuses/aaf5dcaf45729329128d43119d463319ef237408"}}}}
{"actor":{"display_login":"jerneju"}}