Skip to content

Commit 7967414

Browse files
committed
DOC: Fix validation error RT01 in pandas/plotting (pandas-dev#25356)
1 parent 9498481 commit 7967414

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

pandas/plotting/_core.py

+5
Original file line numberDiff line numberDiff line change
@@ -2477,6 +2477,11 @@ def hist_series(self, by=None, ax=None, grid=True, xlabelsize=None,
24772477
`**kwds` : keywords
24782478
To be passed to the actual plotting function
24792479
2480+
Returns
2481+
-------
2482+
axes: matplotlib.AxesSubplot
2483+
A histogram plot.
2484+
24802485
See Also
24812486
--------
24822487
matplotlib.axes.Axes.hist : Plot a histogram using matplotlib.

pandas/plotting/_misc.py

+5
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,11 @@ def scatter_matrix(frame, alpha=0.5, figsize=None, ax=None, grid=False,
4444
kwds : other plotting keyword arguments
4545
To be passed to scatter function
4646
47+
Returns
48+
-------
49+
axes: numpy.ndarray
50+
A matrix of scatter plots.
51+
4752
Examples
4853
--------
4954
>>> df = pd.DataFrame(np.random.randn(1000, 4), columns=['A','B','C','D'])

0 commit comments

Comments
 (0)