{"action":"closed","issue":{"url":"https://api.github.com/repos/bashtage/ng-numpy-randomstate/issues/119","repository_url":"https://api.github.com/repos/bashtage/ng-numpy-randomstate","labels_url":"https://api.github.com/repos/bashtage/ng-numpy-randomstate/issues/119/labels{/name}","comments_url":"https://api.github.com/repos/bashtage/ng-numpy-randomstate/issues/119/comments","events_url":"https://api.github.com/repos/bashtage/ng-numpy-randomstate/issues/119/events","html_url":"https://github.com/bashtage/ng-numpy-randomstate/issues/119","id":266959642,"number":119,"title":"help on RandomState functions show numpy examples","user":{"login":"leonfoks","id":15173535,"avatar_url":"https://avatars0.githubusercontent.com/u/15173535?v=4","gravatar_id":"","url":"https://api.github.com/users/leonfoks","html_url":"https://github.com/leonfoks","followers_url":"https://api.github.com/users/leonfoks/followers","following_url":"https://api.github.com/users/leonfoks/following{/other_user}","gists_url":"https://api.github.com/users/leonfoks/gists{/gist_id}","starred_url":"https://api.github.com/users/leonfoks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leonfoks/subscriptions","organizations_url":"https://api.github.com/users/leonfoks/orgs","repos_url":"https://api.github.com/users/leonfoks/repos","events_url":"https://api.github.com/users/leonfoks/events{/privacy}","received_events_url":"https://api.github.com/users/leonfoks/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2017-10-19T19:25:48Z","updated_at":"2017-10-19T21:22:55Z","closed_at":"2017-10-19T21:22:55Z","author_association":"NONE","body":"Just did the following\r\n\r\n```python\r\nfrom randomstate.prng.xorshift128 import RandomState\r\nr = RandomState()\r\nhelp(r.normal)\r\n```\r\nand it finishes with\r\n\r\n```\r\nExamples\r\n    --------\r\n    Draw samples from the distribution:\r\n    \r\nmu, sigma = 0, 0.1 # mean and standard deviation\r\ns = np.random.normal(mu, sigma, 1000)\r\n```\r\n\r\nIs this an inconsistency?  Should it not be something along the lines of\r\n```python \r\nfrom randomstate.prng.xorshift128 import RandomState\r\nmu, sigma = 0, 0.1 # mean and standard deviation\r\nprng = RandomState(seed)\r\ns = prng.normal(mu, sigma, 1000)\r\n```\r\n"}}
{"actor":{"display_login":"leonfoks"}}