diff --git a/pandas/plotting/_timeseries.py b/pandas/plotting/_timeseries.py index 3d04973ed0009..0d087f5d10123 100644 --- a/pandas/plotting/_timeseries.py +++ b/pandas/plotting/_timeseries.py @@ -22,16 +22,22 @@ def tsplot(series, plotf, ax=None, **kwargs): """ - Plots a Series on the given Matplotlib axes or the current axes + Plots a Series on the given Matplotlib axes or the current axes. Parameters ---------- - axes : Axes series : Series - - Notes - _____ - Supports same kwargs as Axes.plot + plotf : function + Function to plot the given Series. + ax : matplotlib axes object, optional, default=None + Axes to plot upon. If none, plots on current axis. + kwargs + Additional keyword arguments passed to plotf. + + Returns + ------- + lines : list of matplotlib.lines.Line2D object + Resultant figure. """ # Used inferred freq is possible, need a test case for inferred