-
-
Notifications
You must be signed in to change notification settings - Fork 18.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
updated hist documentation #19366
updated hist documentation #19366
Conversation
Hello @mitchnegus! Thanks for updating the PR. Cheers ! There are no PEP8 issues in this Pull Request. 🍻 Comment last updated on January 30, 2018 at 20:49 Hours UTC |
pandas/plotting/_core.py
Outdated
|
||
Notes | ||
----- | ||
See matplotlib documentation online for more on this |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you point to a specific matplotlib
function(s) with a "See Also" section in the docstring? As given, if I were a new user, I wouldn't really have an idea of where to go.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
matplotlib.axes.Axes.hist
might be turned into a link automatically, if you add it to "See Also".
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you also update hist_frame
pandas/plotting/_core.py
Outdated
|
||
Notes | ||
----- | ||
See matplotlib documentation online for more on this |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
matplotlib.axes.Axes.hist
might be turned into a link automatically, if you add it to "See Also".
Codecov Report
@@ Coverage Diff @@
## master #19366 +/- ##
=======================================
Coverage 91.62% 91.62%
=======================================
Files 150 150
Lines 48724 48724
=======================================
Hits 44642 44642
Misses 4082 4082
Continue to review full report at Codecov.
|
@mitchnegus do you have a chance to update based on these comments? |
Yes, sorry, I got busy and had forgot about this. Thanks for the bump! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, this all looks good to me. Please ping if you see that all the CI tests have passed before we do.
thanks! |
pandas.DataFrame.hist()/pandas.Series.hist() currently say that the
bins
keyword argument must be an integer, with a default value of 10. Since these methods are built off matplotlib, these actually seem to be more flexible (allowing sequences as well as integers). I don't know if there was a reason for this discrepancy, but if not, I've adjusted the pandas docstrings to reflect the matplotlib documentation.Existing pandas documentation
Existing matplotlib documentation
git diff upstream/master -u -- "*.py" | flake8 --diff