Skip to content

Commit 8872766

Browse files
authored
Update _core.py with missing parameters (#33596)
1 parent 96bee9d commit 8872766

File tree

1 file changed

+23
-1
lines changed

1 file changed

+23
-1
lines changed

pandas/plotting/_core.py

+23-1
Original file line numberDiff line numberDiff line change
@@ -606,8 +606,21 @@ class PlotAccessor(PandasObject):
606606
- 'pie' : pie plot
607607
- 'scatter' : scatter plot
608608
- 'hexbin' : hexbin plot.
609-
609+
ax : matplotlib axes object, default None
610+
An axes of the current figure.
611+
subplots : bool, default False
612+
Make separate subplots for each column.
613+
sharex : bool, default True if ax is None else False
614+
In case ``subplots=True``, share x axis and set some x axis labels
615+
to invisible; defaults to True if ax is None otherwise False if
616+
an ax is passed in; Be aware, that passing in both an ax and
617+
``sharex=True`` will alter all x axis labels for all axis in a figure.
618+
sharey : bool, default False
619+
In case ``subplots=True``, share y axis and set some y axis labels to invisible.
620+
layout : tuple, optional
621+
(rows, columns) for the layout of subplots.
610622
figsize : a tuple (width, height) in inches
623+
Size of a figure object.
611624
use_index : bool, default True
612625
Use index as ticks for x axis.
613626
title : str or list
@@ -637,7 +650,9 @@ class PlotAccessor(PandasObject):
637650
yticks : sequence
638651
Values to use for the yticks.
639652
xlim : 2-tuple/list
653+
Set the x limits of the current axes.
640654
ylim : 2-tuple/list
655+
Set the y limits of the current axes.
641656
rot : int, default None
642657
Rotation for ticks (xticks for vertical, yticks for horizontal
643658
plots).
@@ -663,6 +678,13 @@ class PlotAccessor(PandasObject):
663678
detail.
664679
xerr : DataFrame, Series, array-like, dict and str
665680
Equivalent to yerr.
681+
stacked : bool, default False in line and bar plots, and True in area plot
682+
If True, create stacked plot.
683+
sort_columns : bool, default False
684+
Sort column names to determine plot ordering.
685+
secondary_y : bool or sequence, default False
686+
Whether to plot on the secondary y-axis if a list/tuple, which
687+
columns to plot on secondary y-axis.
666688
mark_right : bool, default True
667689
When using a secondary_y axis, automatically mark the column
668690
labels with "(right)" in the legend.

0 commit comments

Comments
 (0)