Skip to content

Commit 15af85e

Browse files
mdhsiehJulianWgs
authored andcommitted
DOC: Complete first sentence in DataFrame.hist (pandas-dev#41421). (pandas-dev#41454)
1 parent 0e3aef7 commit 15af85e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pandas/plotting/_core.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ def hist_frame(
132132
**kwargs,
133133
):
134134
"""
135-
Make a histogram of the DataFrame's.
135+
Make a histogram of the DataFrame's columns.
136136
137137
A `histogram`_ is a representation of the distribution of data.
138138
This function calls :meth:`matplotlib.pyplot.hist`, on each series in
@@ -144,7 +144,7 @@ def hist_frame(
144144
----------
145145
data : DataFrame
146146
The pandas object holding the data.
147-
column : str or sequence
147+
column : str or sequence, optional
148148
If passed, will be used to limit data to a subset of columns.
149149
by : object, optional
150150
If passed, then used to form histograms for separate groups.
@@ -171,7 +171,7 @@ def hist_frame(
171171
sharey : bool, default False
172172
In case subplots=True, share y axis and set some y axis labels to
173173
invisible.
174-
figsize : tuple
174+
figsize : tuple, optional
175175
The size in inches of the figure to create. Uses the value in
176176
`matplotlib.rcParams` by default.
177177
layout : tuple, optional

0 commit comments

Comments
 (0)