payload: {"action":"created","issue":{"url":"https://api.github.com/repos/pyro-ppl/numpyro/issues/461","repository_url":"https://api.github.com/repos/pyro-ppl/numpyro","labels_url":"https://api.github.com/repos/pyro-ppl/numpyro/issues/461/labels{/name}","comments_url":"https://api.github.com/repos/pyro-ppl/numpyro/issues/461/comments","events_url":"https://api.github.com/repos/pyro-ppl/numpyro/issues/461/events","html_url":"https://github.com/pyro-ppl/numpyro/issues/461","id":527828865,"node_id":"MDU6SXNzdWU1Mjc4Mjg4NjU=","number":461,"title":"Improve doc examples","user":{"login":"hzyjerry","id":7868138,"node_id":"MDQ6VXNlcjc4NjgxMzg=","avatar_url":"https://avatars0.githubusercontent.com/u/7868138?v=4","gravatar_id":"","url":"https://api.github.com/users/hzyjerry","html_url":"https://github.com/hzyjerry","followers_url":"https://api.github.com/users/hzyjerry/followers","following_url":"https://api.github.com/users/hzyjerry/following{/other_user}","gists_url":"https://api.github.com/users/hzyjerry/gists{/gist_id}","starred_url":"https://api.github.com/users/hzyjerry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hzyjerry/subscriptions","organizations_url":"https://api.github.com/users/hzyjerry/orgs","repos_url":"https://api.github.com/users/hzyjerry/repos","events_url":"https://api.github.com/users/hzyjerry/events{/privacy}","received_events_url":"https://api.github.com/users/hzyjerry/received_events","type":"User","site_admin":false},"labels":[{"id":1687279987,"node_id":"MDU6TGFiZWwxNjg3Mjc5OTg3","url":"https://api.github.com/repos/pyro-ppl/numpyro/labels/documentation","name":"documentation","color":"0052cc","default":true,"description":""}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2019-11-25T03:56:29Z","updated_at":"2019-11-25T21:40:56Z","closed_at":null,"author_association":"NONE","body":"This may be nitpicking, but I think it would be great if the examples in documents could include all the `import` statements: [example](https://numpyro.readthedocs.io/en/stable/mcmc.html#numpyro.infer.mcmc.hmc)\r\n\r\nThe reason being:\r\n1. some times it's non-obvious to new users to get things like `from numpyro.infer.mcmc import fori_collect` correct\r\n2. The examples will become much more self-contained, allowing users to directly copy-paste into terminal to play with."},"comment":{"url":"https://api.github.com/repos/pyro-ppl/numpyro/issues/comments/558352542","html_url":"https://github.com/pyro-ppl/numpyro/issues/461#issuecomment-558352542","issue_url":"https://api.github.com/repos/pyro-ppl/numpyro/issues/461","id":558352542,"node_id":"MDEyOklzc3VlQ29tbWVudDU1ODM1MjU0Mg==","user":{"login":"neerajprad","id":1762463,"node_id":"MDQ6VXNlcjE3NjI0NjM=","avatar_url":"https://avatars3.githubusercontent.com/u/1762463?v=4","gravatar_id":"","url":"https://api.github.com/users/neerajprad","html_url":"https://github.com/neerajprad","followers_url":"https://api.github.com/users/neerajprad/followers","following_url":"https://api.github.com/users/neerajprad/following{/other_user}","gists_url":"https://api.github.com/users/neerajprad/gists{/gist_id}","starred_url":"https://api.github.com/users/neerajprad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/neerajprad/subscriptions","organizations_url":"https://api.github.com/users/neerajprad/orgs","repos_url":"https://api.github.com/users/neerajprad/repos","events_url":"https://api.github.com/users/neerajprad/events{/privacy}","received_events_url":"https://api.github.com/users/neerajprad/received_events","type":"User","site_admin":false},"created_at":"2019-11-25T21:40:56Z","updated_at":"2019-11-25T21:40:56Z","author_association":"MEMBER","body":"Btw..you should be able to run the doc tests using `make doctest`."}}
other: {"actor":{"display_login":"neerajprad"}}