Skip to content

DOC: table keyword missing in the docstring for Series.plot() and DataFr... #7698

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 9, 2014
Merged
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
10 changes: 9 additions & 1 deletion pandas/tools/plotting.py
Original file line number Diff line number Diff line change
Expand Up @@ -2067,6 +2067,10 @@ def plot_frame(frame=None, x=None, y=None, subplots=False, sharex=True,
position : float
Specify relative alignments for bar plot layout.
From 0 (left/bottom-end) to 1 (right/top-end). Default is 0.5 (center)
table : boolean, Series or DataFrame, default False
If True, draw a table using the data in the DataFrame and the data will
be transposed to meet matplotlib’s default layout.
If a Series or DataFrame is passed, use passed data to draw a table.
kwds : keywords
Options to pass to matplotlib plotting method

Expand Down Expand Up @@ -2210,6 +2214,10 @@ def plot_series(series, label=None, kind='line', use_index=True, rot=None,
position : float
Specify relative alignments for bar plot layout.
From 0 (left/bottom-end) to 1 (right/top-end). Default is 0.5 (center)
table : boolean, Series or DataFrame, default False
If True, draw a table using the data in the Series and the data will
be transposed to meet matplotlib’s default layout.
If a Series or DataFrame is passed, use passed data to draw a table.
kwds : keywords
Options to pass to matplotlib plotting method

Expand Down Expand Up @@ -2795,7 +2803,7 @@ def table(ax, data, rowLabels=None, colLabels=None,
elif isinstance(data, DataFrame):
pass
else:
raise ValueError('Input data must be dataframe or series')
raise ValueError('Input data must be DataFrame or Series')

if rowLabels is None:
rowLabels = data.index
Expand Down