diff --git a/pandas/plotting/_core.py b/pandas/plotting/_core.py index e466a215091ea..efa69c9b7d854 100644 --- a/pandas/plotting/_core.py +++ b/pandas/plotting/_core.py @@ -606,8 +606,21 @@ class PlotAccessor(PandasObject): - 'pie' : pie plot - 'scatter' : scatter plot - 'hexbin' : hexbin plot. - + ax : matplotlib axes object, default None + An axes of the current figure. + subplots : bool, default False + Make separate subplots for each column. + sharex : bool, default True if ax is None else False + In case ``subplots=True``, share x axis and set some x axis labels + to invisible; defaults to True if ax is None otherwise False if + an ax is passed in; Be aware, that passing in both an ax and + ``sharex=True`` will alter all x axis labels for all axis in a figure. + sharey : bool, default False + In case ``subplots=True``, share y axis and set some y axis labels to invisible. + layout : tuple, optional + (rows, columns) for the layout of subplots. figsize : a tuple (width, height) in inches + Size of a figure object. use_index : bool, default True Use index as ticks for x axis. title : str or list @@ -637,7 +650,9 @@ class PlotAccessor(PandasObject): yticks : sequence Values to use for the yticks. xlim : 2-tuple/list + Set the x limits of the current axes. ylim : 2-tuple/list + Set the y limits of the current axes. rot : int, default None Rotation for ticks (xticks for vertical, yticks for horizontal plots). @@ -663,6 +678,13 @@ class PlotAccessor(PandasObject): detail. xerr : DataFrame, Series, array-like, dict and str Equivalent to yerr. + stacked : bool, default False in line and bar plots, and True in area plot + If True, create stacked plot. + sort_columns : bool, default False + Sort column names to determine plot ordering. + secondary_y : bool or sequence, default False + Whether to plot on the secondary y-axis if a list/tuple, which + columns to plot on secondary y-axis. mark_right : bool, default True When using a secondary_y axis, automatically mark the column labels with "(right)" in the legend.