Skip to content

Commit f55cedf

Browse files
meeseeksmachinelithomas1
authored andcommitted
Backport PR pandas-dev#31167: DOC: fix DataFrame.plot docs (pandas-dev#31244)
Co-authored-by: Thomas Li <[email protected]>
1 parent 601b301 commit f55cedf

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pandas/plotting/_core.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -374,7 +374,6 @@ def hist_frame(
374374
<class 'numpy.ndarray'>
375375
"""
376376

377-
378377
_backend_doc = """\
379378
backend : str, default None
380379
Backend to use instead of the backend specified in the option
@@ -847,6 +846,8 @@ def __call__(self, *args, **kwargs):
847846

848847
return plot_backend.plot(data, kind=kind, **kwargs)
849848

849+
__call__.__doc__ = __doc__
850+
850851
def line(self, x=None, y=None, **kwargs):
851852
"""
852853
Plot Series or DataFrame as lines.

0 commit comments

Comments
 (0)