Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 12 additions & 6 deletions pandas/plotting/_timeseries.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down