Skip to content

Commit

Permalink
updated hist documentation (pandas-dev#19366)
Browse files Browse the repository at this point in the history
  • Loading branch information
mitchnegus authored and harisbal committed Feb 28, 2018
1 parent e295435 commit fba0737
Showing 1 changed file with 18 additions and 5 deletions.
23 changes: 18 additions & 5 deletions pandas/plotting/_core.py
Original file line number Diff line number Diff line change
Expand Up @@ -2156,10 +2156,18 @@ def hist_frame(data, column=None, by=None, grid=True, xlabelsize=None,
The size of the figure to create in inches by default
layout : tuple, optional
Tuple of (rows, columns) for the layout of the histograms
bins : integer, default 10
Number of histogram bins to be used
bins : integer or sequence, default 10
Number of histogram bins to be used. If an integer is given, bins + 1
bin edges are calculated and returned. If bins is a sequence, gives
bin edges, including left edge of first bin and right edge of last
bin. In this case, bins is returned unmodified.
`**kwds` : other plotting keyword arguments
To be passed to hist function
See Also
--------
matplotlib.axes.Axes.hist : Plot a histogram using matplotlib.
"""
_converter._WARN = False
if by is not None:
Expand Down Expand Up @@ -2219,14 +2227,19 @@ def hist_series(self, by=None, ax=None, grid=True, xlabelsize=None,
rotation of y axis labels
figsize : tuple, default None
figure size in inches by default
bins : integer or sequence, default 10
Number of histogram bins to be used. If an integer is given, bins + 1
bin edges are calculated and returned. If bins is a sequence, gives
bin edges, including left edge of first bin and right edge of last
bin. In this case, bins is returned unmodified.
bins: integer, default 10
Number of histogram bins to be used
`**kwds` : keywords
To be passed to the actual plotting function
Notes
-----
See matplotlib documentation online for more on this
See Also
--------
matplotlib.axes.Axes.hist : Plot a histogram using matplotlib.
"""
import matplotlib.pyplot as plt
Expand Down

0 comments on commit fba0737

Please sign in to comment.