{"action":"created","issue":{"url":"https://api.github.com/repos/pandas-dev/pandas/issues/20121","repository_url":"https://api.github.com/repos/pandas-dev/pandas","labels_url":"https://api.github.com/repos/pandas-dev/pandas/issues/20121/labels{/name}","comments_url":"https://api.github.com/repos/pandas-dev/pandas/issues/20121/comments","events_url":"https://api.github.com/repos/pandas-dev/pandas/issues/20121/events","html_url":"https://github.com/pandas-dev/pandas/pull/20121","id":304068329,"number":20121,"title":"DOC: updated the pandas.DataFrame.plot.hexbin docstring","user":{"login":"BielStela","id":9404338,"avatar_url":"https://avatars0.githubusercontent.com/u/9404338?v=4","gravatar_id":"","url":"https://api.github.com/users/BielStela","html_url":"https://github.com/BielStela","followers_url":"https://api.github.com/users/BielStela/followers","following_url":"https://api.github.com/users/BielStela/following{/other_user}","gists_url":"https://api.github.com/users/BielStela/gists{/gist_id}","starred_url":"https://api.github.com/users/BielStela/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BielStela/subscriptions","organizations_url":"https://api.github.com/users/BielStela/orgs","repos_url":"https://api.github.com/users/BielStela/repos","events_url":"https://api.github.com/users/BielStela/events{/privacy}","received_events_url":"https://api.github.com/users/BielStela/received_events","type":"User","site_admin":false},"labels":[{"id":134699,"url":"https://api.github.com/repos/pandas-dev/pandas/labels/Docs","name":"Docs","color":"3465A4","default":false},{"id":2413328,"url":"https://api.github.com/repos/pandas-dev/pandas/labels/Visualization","name":"Visualization","color":"8AE234","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/pandas-dev/pandas/milestones/53","html_url":"https://github.com/pandas-dev/pandas/milestone/53","labels_url":"https://api.github.com/repos/pandas-dev/pandas/milestones/53/labels","id":2853937,"number":53,"title":"0.23.0","description":"after 0.22","creator":{"login":"jreback","id":953992,"avatar_url":"https://avatars2.githubusercontent.com/u/953992?v=4","gravatar_id":"","url":"https://api.github.com/users/jreback","html_url":"https://github.com/jreback","followers_url":"https://api.github.com/users/jreback/followers","following_url":"https://api.github.com/users/jreback/following{/other_user}","gists_url":"https://api.github.com/users/jreback/gists{/gist_id}","starred_url":"https://api.github.com/users/jreback/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jreback/subscriptions","organizations_url":"https://api.github.com/users/jreback/orgs","repos_url":"https://api.github.com/users/jreback/repos","events_url":"https://api.github.com/users/jreback/events{/privacy}","received_events_url":"https://api.github.com/users/jreback/received_events","type":"User","site_admin":false},"open_issues":155,"closed_issues":1221,"state":"open","created_at":"2017-10-20T10:17:09Z","updated_at":"2018-03-14T12:40:48Z","due_on":"2018-03-31T07:00:00Z","closed_at":null},"comments":9,"created_at":"2018-03-10T12:50:44Z","updated_at":"2018-03-14T12:42:26Z","closed_at":"2018-03-14T12:40:48Z","author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/pandas-dev/pandas/pulls/20121","html_url":"https://github.com/pandas-dev/pandas/pull/20121","diff_url":"https://github.com/pandas-dev/pandas/pull/20121.diff","patch_url":"https://github.com/pandas-dev/pandas/pull/20121.patch"},"body":"Checklist for the pandas documentation sprint (ignore this if you are doing\r\nan unrelated PR):\r\n\r\n- [x] PR title is \"DOC: update the <your-function-or-method> docstring\"\r\n- [x] The validation script passes: `scripts/validate_docstrings.py <your-function-or-method>`\r\n- [x] The PEP8 style check passes: `git diff upstream/master -u -- \"*.py\" | flake8 --diff`\r\n- [x] The html version looks good: `python doc/make.py --single <your-function-or-method>`\r\n- [x] It has been proofread on language by another sprint participant\r\n\r\nPlease include the output of the validation script below between the \"```\" ticks:\r\n\r\n```\r\n\r\n################################################################################\r\n################### Docstring (pandas.DataFrame.plot.hexbin) ###################\r\n################################################################################\r\n\r\nMake hexagonal binning plots.\r\n\r\nMake an hexagonal binning plot of *x* versus *y*, where *x*,\r\n*y* are 1-D sequences of the same length, *N*. If *C* is *None*\r\n(the default), this is an histogram of the number of occurrences\r\nof the observations at (x[i],y[i]).\r\n\r\nIf *C* is specified, specifies values at given coordinates\r\n(x[i],y[i]). These values are accumulated for each hexagonal\r\nbin and then reduced according to *reduce_C_function*, having as default\r\nthe numpy's mean function (np.mean). (If *C* is\r\nspecified, it must also be a 1-D sequence of the same length\r\nas *x* and *y*.)\r\n\r\nParameters\r\n----------\r\nx : label or position, optional\r\n    Coordinates for x point.\r\ny : label or position, optional\r\n    Coordinates for y point.\r\nC : label or position, optional\r\n    The value at each `(x, y)` point.\r\nreduce_C_function : callable, optional, default `mean`\r\n    Function of one argument that reduces all the values in a bin to\r\n    a single number (e.g. `mean`, `max`, `sum`, `std`).\r\ngridsize : int, optional, default 100\r\n    The number of hexagons in the x-direction.\r\n    The corresponding number of hexagons in the y-direction is chosen\r\n    in a way that the hexagons are approximately regular. Alternatively,\r\n    gridsize can be a tuple with two elements specifying the number of\r\n    hexagons in the x-direction and the y-direction.\r\nkwds : optional\r\n    Keyword arguments to pass on to :py:meth:`pandas.DataFrame.plot`.\r\n\r\nReturns\r\n-------\r\naxes : matplotlib.AxesSubplot or np.array of them.\r\n\r\nSee Also\r\n--------\r\nmatplotlib.pyplot.hexbin : hexagonal binning plot using matplotlib.\r\n\r\nExamples\r\n--------\r\n\r\n.. plot::\r\n    :context: close-figs\r\n\r\n    >>> from  sklearn.datasets import load_iris\r\n    >>> iris = load_iris()\r\n    >>> df = pd.DataFrame(iris.data, columns=iris.feature_names)\r\n    >>> hexbin = df.plot.hexbin(x='sepal length (cm)', y='sepal width (cm)',\r\n    ...                         gridsize=10, cmap='viridis')\r\n\r\n################################################################################\r\n################################## Validation ##################################\r\n################################################################################\r\n\r\nDocstring for \"pandas.DataFrame.plot.hexbin\" correct. :)\r\n\r\n\r\n```\r\nthanks to @Renton2017"},"comment":{"url":"https://api.github.com/repos/pandas-dev/pandas/issues/comments/373007143","html_url":"https://github.com/pandas-dev/pandas/pull/20121#issuecomment-373007143","issue_url":"https://api.github.com/repos/pandas-dev/pandas/issues/20121","id":373007143,"user":{"login":"TomAugspurger","id":1312546,"avatar_url":"https://avatars3.githubusercontent.com/u/1312546?v=4","gravatar_id":"","url":"https://api.github.com/users/TomAugspurger","html_url":"https://github.com/TomAugspurger","followers_url":"https://api.github.com/users/TomAugspurger/followers","following_url":"https://api.github.com/users/TomAugspurger/following{/other_user}","gists_url":"https://api.github.com/users/TomAugspurger/gists{/gist_id}","starred_url":"https://api.github.com/users/TomAugspurger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TomAugspurger/subscriptions","organizations_url":"https://api.github.com/users/TomAugspurger/orgs","repos_url":"https://api.github.com/users/TomAugspurger/repos","events_url":"https://api.github.com/users/TomAugspurger/events{/privacy}","received_events_url":"https://api.github.com/users/TomAugspurger/received_events","type":"User","site_admin":false},"created_at":"2018-03-14T12:42:25Z","updated_at":"2018-03-14T12:42:25Z","author_association":"CONTRIBUTOR","body":":)\n\nFYI Joris, https://github.com/github/hub is nice for checking out PRs. Just\n`hub checkout <url>` and all the remotes are setup locally.\n\nOn Wed, Mar 14, 2018 at 7:41 AM, Joris Van den Bossche <\nnotifications@github.com> wrote:\n\n> @BielStela <https://github.com/bielstela> Thanks a lot for the PR!\n>\n> —\n> You are receiving this because you were mentioned.\n> Reply to this email directly, view it on GitHub\n> <https://github.com/pandas-dev/pandas/pull/20121#issuecomment-373006788>,\n> or mute the thread\n> <https://github.com/notifications/unsubscribe-auth/ABQHImg9KQ2qzkpCkVzHn4Rpgm8AdP2Iks5teQ_ngaJpZM4SlQ_G>\n> .\n>\n"}}
{"actor":{"display_login":"TomAugspurger"}}