diff --git a/pandas/plotting/_core.py b/pandas/plotting/_core.py index dd907457f7c32..c239f11d5c6a1 100644 --- a/pandas/plotting/_core.py +++ b/pandas/plotting/_core.py @@ -374,7 +374,6 @@ def hist_frame( """ - _backend_doc = """\ backend : str, default None Backend to use instead of the backend specified in the option @@ -847,6 +846,8 @@ def __call__(self, *args, **kwargs): return plot_backend.plot(data, kind=kind, **kwargs) + __call__.__doc__ = __doc__ + def line(self, x=None, y=None, **kwargs): """ Plot Series or DataFrame as lines.