{"action":"created","issue":{"url":"https://api.github.com/repos/arviz-devs/arviz/issues/626","repository_url":"https://api.github.com/repos/arviz-devs/arviz","labels_url":"https://api.github.com/repos/arviz-devs/arviz/issues/626/labels{/name}","comments_url":"https://api.github.com/repos/arviz-devs/arviz/issues/626/comments","events_url":"https://api.github.com/repos/arviz-devs/arviz/issues/626/events","html_url":"https://github.com/arviz-devs/arviz/pull/626","id":424698809,"node_id":"MDExOlB1bGxSZXF1ZXN0MjYzOTYzMjg5","number":626,"title":"Add rankplot","user":{"login":"ColCarroll","id":2295568,"node_id":"MDQ6VXNlcjIyOTU1Njg=","avatar_url":"https://avatars3.githubusercontent.com/u/2295568?v=4","gravatar_id":"","url":"https://api.github.com/users/ColCarroll","html_url":"https://github.com/ColCarroll","followers_url":"https://api.github.com/users/ColCarroll/followers","following_url":"https://api.github.com/users/ColCarroll/following{/other_user}","gists_url":"https://api.github.com/users/ColCarroll/gists{/gist_id}","starred_url":"https://api.github.com/users/ColCarroll/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ColCarroll/subscriptions","organizations_url":"https://api.github.com/users/ColCarroll/orgs","repos_url":"https://api.github.com/users/ColCarroll/repos","events_url":"https://api.github.com/users/ColCarroll/events{/privacy}","received_events_url":"https://api.github.com/users/ColCarroll/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":9,"created_at":"2019-03-25T02:37:22Z","updated_at":"2019-03-28T05:11:53Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/arviz-devs/arviz/pulls/626","html_url":"https://github.com/arviz-devs/arviz/pull/626","diff_url":"https://github.com/arviz-devs/arviz/pull/626.diff","patch_url":"https://github.com/arviz-devs/arviz/pull/626.patch"},"body":"This implements `plot_rank`, as described in #621. This still lacks tests, but wanted to get comments on some styling choices I was already making, specifically:\r\n\r\n1. Dotted line in the background to show what a uniform histogram would look like.\r\n2. All chains plotted in one axis\r\n3. Using `bins='auto'` by default. In the paper, it looks like a lot of bins were chosen, but I do not understand why. You can replicate that behavior by manually passing a number of bins (see examples below).\r\n\r\nIt might make sense to also make this an optional panel in a traceplot, in which case the \"artist\" should get factored out.\r\n\r\n```python\r\ndata = az.load_arviz_data('centered_eight')\r\naz.plot_rank(data, ['mu', 'tau', 'theta'], coords={'school': ['Choate', 'Deerfield']})\r\n```\r\n![image](https://user-images.githubusercontent.com/2295568/54891760-fc79c880-4e84-11e9-9a45-098f751bb429.png)\r\n\r\n```python\r\ndata = az.load_arviz_data('non_centered_eight')\r\naz.plot_rank(data, ['mu', 'tau', 'theta'], coords={'school': ['Choate', 'Deerfield']})\r\n```\r\n![image](https://user-images.githubusercontent.com/2295568/54891775-0ac7e480-4e85-11e9-921a-e96c9f11786c.png)\r\n\r\n```python\r\ndata = az.load_arviz_data('centered_eight')\r\naz.plot_rank(data, var_names='tau', bins=50, figsize=(10, 7));\r\n```\r\n![image](https://user-images.githubusercontent.com/2295568/54891819-45ca1800-4e85-11e9-8c32-f14375b022e3.png)\r\n"},"comment":{"url":"https://api.github.com/repos/arviz-devs/arviz/issues/comments/477450726","html_url":"https://github.com/arviz-devs/arviz/pull/626#issuecomment-477450726","issue_url":"https://api.github.com/repos/arviz-devs/arviz/issues/626","id":477450726,"node_id":"MDEyOklzc3VlQ29tbWVudDQ3NzQ1MDcyNg==","user":{"login":"canyon289","id":7213793,"node_id":"MDQ6VXNlcjcyMTM3OTM=","avatar_url":"https://avatars3.githubusercontent.com/u/7213793?v=4","gravatar_id":"","url":"https://api.github.com/users/canyon289","html_url":"https://github.com/canyon289","followers_url":"https://api.github.com/users/canyon289/followers","following_url":"https://api.github.com/users/canyon289/following{/other_user}","gists_url":"https://api.github.com/users/canyon289/gists{/gist_id}","starred_url":"https://api.github.com/users/canyon289/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/canyon289/subscriptions","organizations_url":"https://api.github.com/users/canyon289/orgs","repos_url":"https://api.github.com/users/canyon289/repos","events_url":"https://api.github.com/users/canyon289/events{/privacy}","received_events_url":"https://api.github.com/users/canyon289/received_events","type":"User","site_admin":false},"created_at":"2019-03-28T05:11:53Z","updated_at":"2019-03-28T05:11:53Z","author_association":"MEMBER","body":"LGTM"}}
{"actor":{"display_login":"canyon289"}}