Skip to content

Commit 60abff2

Browse files
loudlemonrhshadrach
authored andcommitted
Update _core.py with missing parameters (pandas-dev#33596)
1 parent 749e0a5 commit 60abff2

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
@@ -614,8 +614,21 @@ class PlotAccessor(PandasObject):
614614
- 'pie' : pie plot
615615
- 'scatter' : scatter plot
616616
- 'hexbin' : hexbin plot.
617-
617+
ax : matplotlib axes object, default None
618+
An axes of the current figure.
619+
subplots : bool, default False
620+
Make separate subplots for each column.
621+
sharex : bool, default True if ax is None else False
622+
In case ``subplots=True``, share x axis and set some x axis labels
623+
to invisible; defaults to True if ax is None otherwise False if
624+
an ax is passed in; Be aware, that passing in both an ax and
625+
``sharex=True`` will alter all x axis labels for all axis in a figure.
626+
sharey : bool, default False
627+
In case ``subplots=True``, share y axis and set some y axis labels to invisible.
628+
layout : tuple, optional
629+
(rows, columns) for the layout of subplots.
618630
figsize : a tuple (width, height) in inches
631+
Size of a figure object.
619632
use_index : bool, default True
620633
Use index as ticks for x axis.
621634
title : str or list
@@ -645,7 +658,9 @@ class PlotAccessor(PandasObject):
645658
yticks : sequence
646659
Values to use for the yticks.
647660
xlim : 2-tuple/list
661+
Set the x limits of the current axes.
648662
ylim : 2-tuple/list
663+
Set the y limits of the current axes.
649664
rot : int, default None
650665
Rotation for ticks (xticks for vertical, yticks for horizontal
651666
plots).
@@ -671,6 +686,13 @@ class PlotAccessor(PandasObject):
671686
detail.
672687
xerr : DataFrame, Series, array-like, dict and str
673688
Equivalent to yerr.
689+
stacked : bool, default False in line and bar plots, and True in area plot
690+
If True, create stacked plot.
691+
sort_columns : bool, default False
692+
Sort column names to determine plot ordering.
693+
secondary_y : bool or sequence, default False
694+
Whether to plot on the secondary y-axis if a list/tuple, which
695+
columns to plot on secondary y-axis.
674696
mark_right : bool, default True
675697
When using a secondary_y axis, automatically mark the column
676698
labels with "(right)" in the legend.

0 commit comments

Comments
 (0)