pandas 0.9.1 documentation

pandas.Series.plot

Series.plot(series, label=None, kind='line', use_index=True, rot=None, xticks=None, yticks=None, xlim=None, ylim=None, ax=None, style=None, grid=None, legend=False, logy=False, secondary_y=False, **kwds)

Plot the input series with the index on the x-axis using matplotlib

Parameters :

label : label argument to provide to plot

kind : {‘line’, ‘bar’, ‘barh’}

bar : vertical bar plot barh : horizontal bar plot

rot : int, default 30

Rotation for tick labels

use_index : boolean, default True

Plot index as axis tick labels

ax : matplotlib axis object

If not passed, uses gca()

style : string, default matplotlib default

matplotlib line style to use

ax : matplotlib axis object

If not passed, uses gca()

logy : boolean, default False

For line plots, use log scaling on y axis

xticks : sequence

Values to use for the xticks

yticks : sequence

Values to use for the yticks

xlim : 2-tuple/list

ylim : 2-tuple/list

rot : int, default None

Rotation for ticks

kwds : keywords

Options to pass to matplotlib plotting method

Notes

See matplotlib documentation online for more on this subject