{"action":"created","issue":{"url":"https://api.github.com/repos/scipy/scipy/issues/4578","labels_url":"https://api.github.com/repos/scipy/scipy/issues/4578/labels{/name}","comments_url":"https://api.github.com/repos/scipy/scipy/issues/4578/comments","events_url":"https://api.github.com/repos/scipy/scipy/issues/4578/events","html_url":"https://github.com/scipy/scipy/pull/4578","id":59428862,"number":4578,"title":"WIP: Reconcile docstrings and function signatures","user":{"login":"rmcgibbo","id":641278,"avatar_url":"https://avatars.githubusercontent.com/u/641278?v=3","gravatar_id":"","url":"https://api.github.com/users/rmcgibbo","html_url":"https://github.com/rmcgibbo","followers_url":"https://api.github.com/users/rmcgibbo/followers","following_url":"https://api.github.com/users/rmcgibbo/following{/other_user}","gists_url":"https://api.github.com/users/rmcgibbo/gists{/gist_id}","starred_url":"https://api.github.com/users/rmcgibbo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rmcgibbo/subscriptions","organizations_url":"https://api.github.com/users/rmcgibbo/orgs","repos_url":"https://api.github.com/users/rmcgibbo/repos","events_url":"https://api.github.com/users/rmcgibbo/events{/privacy}","received_events_url":"https://api.github.com/users/rmcgibbo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-03-02T01:27:39Z","updated_at":"2015-03-02T03:10:22Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/scipy/scipy/pulls/4578","html_url":"https://github.com/scipy/scipy/pull/4578","diff_url":"https://github.com/scipy/scipy/pull/4578.diff","patch_url":"https://github.com/scipy/scipy/pull/4578.patch"},"body":"Based on #4575, I wrote a [small tool](https://github.com/rmcgibbo/doccheck) to check for discrepancies between function signatures and docstrings. This PR cleans up some of them.\r\n\r\nExtra notes: \r\n1. Docstring for `Akima1DInterpolator` mentions `axis` as argument, but not in signature.\r\n2. Docstring for `NearestNDInterpolator` is quite different than signature: `(x,y)` vs. `points`\r\n3. Not sure what's going on  with `spleval`\r\n4. `scipy.interpolate.PiecewisePolynomial.extend`'s docstring's `direction` argument doesn't appear in signature.\r\n5. `brute_force` argument in `scipy.ndimage.morphology.binary_erosion` and `scipy.ndimage.morphology.binary_dilation` undocumented."},"comment":{"url":"https://api.github.com/repos/scipy/scipy/issues/comments/76652774","html_url":"https://github.com/scipy/scipy/pull/4578#issuecomment-76652774","issue_url":"https://api.github.com/repos/scipy/scipy/issues/4578","id":76652774,"user":{"login":"rmcgibbo","id":641278,"avatar_url":"https://avatars.githubusercontent.com/u/641278?v=3","gravatar_id":"","url":"https://api.github.com/users/rmcgibbo","html_url":"https://github.com/rmcgibbo","followers_url":"https://api.github.com/users/rmcgibbo/followers","following_url":"https://api.github.com/users/rmcgibbo/following{/other_user}","gists_url":"https://api.github.com/users/rmcgibbo/gists{/gist_id}","starred_url":"https://api.github.com/users/rmcgibbo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rmcgibbo/subscriptions","organizations_url":"https://api.github.com/users/rmcgibbo/orgs","repos_url":"https://api.github.com/users/rmcgibbo/repos","events_url":"https://api.github.com/users/rmcgibbo/events{/privacy}","received_events_url":"https://api.github.com/users/rmcgibbo/received_events","type":"User","site_admin":false},"created_at":"2015-03-02T03:10:22Z","updated_at":"2015-03-02T03:10:22Z","body":"Numpydoc is probably an appropriate place for it, if the maintainers are\ninterested, now that it's a separate project from numpy core.\n\nThe tool still needs to be cleaned up a little bit (it only runs on py3k,\nnot documented, etc).\nOn Mar 1, 2015 6:53 PM, \"Eric Moore\" <notifications@github.com> wrote:\n\n> Do you think it's worth adding your tool somewhere? I think we have a tools\n> directory. Alternative it could possibly go in to numpy doc somewhere.\n>\n> On Sunday, March 1, 2015, Robert T. McGibbon <notifications@github.com>\n> wrote:\n>\n> > Based on #4575 <https://github.com/scipy/scipy/issues/4575>, I wrote a\n> small\n> > tool <https://github.com/rmcgibbo/doccheck> to check for discrepancies\n> > between function signatures and docstrings. This PR cleans up some of\n> them.\n> > ------------------------------\n> > You can view, comment on, or merge this pull request online at:\n> >\n> > https://github.com/scipy/scipy/pull/4578\n> > Commit Summary\n> >\n> > - Docstring maintance in stats\n> >\n> > File Changes\n> >\n> > - *M* scipy/stats/morestats.py\n> > <https://github.com/scipy/scipy/pull/4578/files#diff-0> (2)\n> > - *M* scipy/stats/mstats_basic.py\n> > <https://github.com/scipy/scipy/pull/4578/files#diff-1> (4)\n> > - *M* scipy/stats/mstats_extras.py\n> > <https://github.com/scipy/scipy/pull/4578/files#diff-2> (4)\n> > - *M* scipy/stats/stats.py\n> > <https://github.com/scipy/scipy/pull/4578/files#diff-3> (16)\n> >\n> > Patch Links:\n> >\n> > - https://github.com/scipy/scipy/pull/4578.patch\n> > - https://github.com/scipy/scipy/pull/4578.diff\n> >\n> > —\n> > Reply to this email directly or view it on GitHub\n> > <https://github.com/scipy/scipy/pull/4578>.\n> >\n>\n> —\n> Reply to this email directly or view it on GitHub\n> <https://github.com/scipy/scipy/pull/4578#issuecomment-76651576>.\n>\n"}}