payload: {"action":"created","issue":{"url":"https://api.github.com/repos/qgisissuebot/QGIS/issues/52","repository_url":"https://api.github.com/repos/qgisissuebot/QGIS","labels_url":"https://api.github.com/repos/qgisissuebot/QGIS/issues/52/labels{/name}","comments_url":"https://api.github.com/repos/qgisissuebot/QGIS/issues/52/comments","events_url":"https://api.github.com/repos/qgisissuebot/QGIS/issues/52/events","html_url":"https://github.com/qgisissuebot/QGIS/issues/52","id":419082977,"node_id":"MDU6SXNzdWU0MTkwODI5Nzc=","number":52,"title":"Quantile (Equal Count) on given dataset generates a lot of zero-classes","user":{"login":"qgisissuebot","id":48385090,"node_id":"MDQ6VXNlcjQ4Mzg1MDkw","avatar_url":"https://avatars1.githubusercontent.com/u/48385090?v=4","gravatar_id":"","url":"https://api.github.com/users/qgisissuebot","html_url":"https://github.com/qgisissuebot","followers_url":"https://api.github.com/users/qgisissuebot/followers","following_url":"https://api.github.com/users/qgisissuebot/following{/other_user}","gists_url":"https://api.github.com/users/qgisissuebot/gists{/gist_id}","starred_url":"https://api.github.com/users/qgisissuebot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/qgisissuebot/subscriptions","organizations_url":"https://api.github.com/users/qgisissuebot/orgs","repos_url":"https://api.github.com/users/qgisissuebot/repos","events_url":"https://api.github.com/users/qgisissuebot/events{/privacy}","received_events_url":"https://api.github.com/users/qgisissuebot/received_events","type":"User","site_admin":false},"labels":[{"id":1265555696,"node_id":"MDU6TGFiZWwxMjY1NTU1Njk2","url":"https://api.github.com/repos/qgisissuebot/QGIS/labels/Bug","name":"Bug","color":"ee0701","default":false},{"id":1265561218,"node_id":"MDU6TGFiZWwxMjY1NTYxMjE4","url":"https://api.github.com/repos/qgisissuebot/QGIS/labels/Priority:%20normal","name":"Priority: normal","color":"fbca04","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2019-03-09T15:28:59Z","updated_at":"2019-03-09T15:29:05Z","closed_at":null,"author_association":"OWNER","body":"---\n\n\nAuthor Name: **Richard Duivenvoorde** (Richard Duivenvoorde)\nOriginal Redmine Issue: 21451, https://issues.qgis.org/issues/21451\nOriginal Date: 2019-03-03T10:27:26.656Z\n\nAffected QGIS version: 3.7(master)\n\n---\n\nUsing attached randomized dataset (with a lot of zero's AND negative values...) Graduated styling with the Quantile (Equal Count) on the 'value' column creates a lot of '0'-classes:\r\n\r\n!QuantileEqualCount2.png!\r\n\r\nAdding more classes also adds more 'zero'- classes.\r\n\r\nMaybe it has something to do with the amount of zero in the values? \r\nOr with the negative values in it?\r\nOr is there some logarithmic logic in it (where there should be no negative values)?\r\n\r\nI've also tested with QGIS 2.18 and that gave the same results.\r\n\r\n \n\n---\n\n- [random.gpkg](https://issues.qgis.org/attachments/download/14504/random.gpkg) (Richard Duivenvoorde)\n- [QuantileEqualCount2.png](https://issues.qgis.org/attachments/download/14505/QuantileEqualCount2.png) (Richard Duivenvoorde)\n- [random_abs_freq.ods](https://issues.qgis.org/attachments/download/14510/random_abs_freq.ods) (Pedro Venâncio)"},"comment":{"url":"https://api.github.com/repos/qgisissuebot/QGIS/issues/comments/471189292","html_url":"https://github.com/qgisissuebot/QGIS/issues/52#issuecomment-471189292","issue_url":"https://api.github.com/repos/qgisissuebot/QGIS/issues/52","id":471189292,"node_id":"MDEyOklzc3VlQ29tbWVudDQ3MTE4OTI5Mg==","user":{"login":"qgisissuebot","id":48385090,"node_id":"MDQ6VXNlcjQ4Mzg1MDkw","avatar_url":"https://avatars1.githubusercontent.com/u/48385090?v=4","gravatar_id":"","url":"https://api.github.com/users/qgisissuebot","html_url":"https://github.com/qgisissuebot","followers_url":"https://api.github.com/users/qgisissuebot/followers","following_url":"https://api.github.com/users/qgisissuebot/following{/other_user}","gists_url":"https://api.github.com/users/qgisissuebot/gists{/gist_id}","starred_url":"https://api.github.com/users/qgisissuebot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/qgisissuebot/subscriptions","organizations_url":"https://api.github.com/users/qgisissuebot/orgs","repos_url":"https://api.github.com/users/qgisissuebot/repos","events_url":"https://api.github.com/users/qgisissuebot/events{/privacy}","received_events_url":"https://api.github.com/users/qgisissuebot/received_events","type":"User","site_admin":false},"created_at":"2019-03-09T15:29:05Z","updated_at":"2019-03-09T15:29:05Z","author_association":"OWNER","body":"---\n\nOriginal Redmine Comment\nAuthor Name: **Pedro Venâncio** (Pedro Venâncio)\nOriginal Date: 2019-03-04T09:50:47.406Z\n\n---\n\nHi Richard,\r\n\r\nThis is the correct result.\r\n\r\nThe R output is:\r\n\r\n```\r\n> table_random <- read.csv(\"\\\\random.csv\")\r\n\r\n> quantile(table_random$value, probs = seq(0, 1, by= 0.1))\r\n    0%    10%    20%    30%    40%    50%    60%    70%    80%    90%   100% \r\n -27.0    0.0    0.0    0.0    0.0    4.0   63.0  126.0  206.0  412.3 3580.0\r\n\n```\n\n"}}
other: {"actor":{"display_login":"qgisissuebot"}}