From 580964e78c17f44fe19fe5b146fa62d7825c8054 Mon Sep 17 00:00:00 2001 From: Thomas Li Date: Mon, 20 Jan 2020 13:48:04 -0800 Subject: [PATCH] change docstring for __call__ --- pandas/plotting/_core.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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.