diff --git a/pandas/plotting/_core.py b/pandas/plotting/_core.py index 96f9abb301471..8d6c2062f9484 100644 --- a/pandas/plotting/_core.py +++ b/pandas/plotting/_core.py @@ -1484,7 +1484,7 @@ def kde(self, bw_method=None, ind=None, **kwargs) -> PlotAccessor: density = kde - def area(self, x=None, y=None, **kwargs) -> PlotAccessor: + def area(self, x=None, y=None, stacked=True, **kwargs) -> PlotAccessor: """ Draw a stacked area plot. @@ -1555,7 +1555,7 @@ def area(self, x=None, y=None, **kwargs) -> PlotAccessor: ... }) >>> ax = df.plot.area(x='day') """ - return self(kind="area", x=x, y=y, **kwargs) + return self(kind="area", x=x, y=y, stacked=stacked, **kwargs) def pie(self, **kwargs) -> PlotAccessor: """