@@ -2067,6 +2067,10 @@ def plot_frame(frame=None, x=None, y=None, subplots=False, sharex=True,
2067
2067
position : float
2068
2068
Specify relative alignments for bar plot layout.
2069
2069
From 0 (left/bottom-end) to 1 (right/top-end). Default is 0.5 (center)
2070
+ table : boolean, Series or DataFrame, default False
2071
+ If True, draw a table using the data in the DataFrame and the data will
2072
+ be transposed to meet matplotlib’s default layout.
2073
+ If a Series or DataFrame is passed, use passed data to draw a table.
2070
2074
kwds : keywords
2071
2075
Options to pass to matplotlib plotting method
2072
2076
@@ -2210,6 +2214,10 @@ def plot_series(series, label=None, kind='line', use_index=True, rot=None,
2210
2214
position : float
2211
2215
Specify relative alignments for bar plot layout.
2212
2216
From 0 (left/bottom-end) to 1 (right/top-end). Default is 0.5 (center)
2217
+ table : boolean, Series or DataFrame, default False
2218
+ If True, draw a table using the data in the Series and the data will
2219
+ be transposed to meet matplotlib’s default layout.
2220
+ If a Series or DataFrame is passed, use passed data to draw a table.
2213
2221
kwds : keywords
2214
2222
Options to pass to matplotlib plotting method
2215
2223
@@ -2795,7 +2803,7 @@ def table(ax, data, rowLabels=None, colLabels=None,
2795
2803
elif isinstance (data , DataFrame ):
2796
2804
pass
2797
2805
else :
2798
- raise ValueError ('Input data must be dataframe or series ' )
2806
+ raise ValueError ('Input data must be DataFrame or Series ' )
2799
2807
2800
2808
if rowLabels is None :
2801
2809
rowLabels = data .index
0 commit comments