Skip to content

Commit a43de44

Browse files
lithomas1TomAugspurger
authored andcommitted
DOC: Fixed DataFrame.plot docs (#31167)
1 parent 7b9ebb0 commit a43de44

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pandas/plotting/_core.py

Lines changed: 2 additions & 1 deletion
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)