Skip to content

Commit d8654f5

Browse files
timhoffmmeeseeksmachine
authored andcommitted
Backport PR matplotlib#29853: Update lib/matplotlib/stackplot.py
1 parent 4bf746b commit d8654f5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/matplotlib/stackplot.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,11 @@ def stackplot(axes, x, *args,
2626
x : (N,) array-like
2727
2828
y : (M, N) array-like
29-
The data is assumed to be unstacked. Each of the following
29+
The data can be either stacked or unstacked. Each of the following
3030
calls is legal::
3131
32-
stackplot(x, y) # where y has shape (M, N)
33-
stackplot(x, y1, y2, y3) # where y1, y2, y3, y4 have length N
32+
stackplot(x, y) # where y has shape (M, N) e.g. y = [y1, y2, y3, y4]
33+
stackplot(x, y1, y2, y3, y4) # where y1, y2, y3, y4 have length N
3434
3535
baseline : {'zero', 'sym', 'wiggle', 'weighted_wiggle'}
3636
Method used to calculate the baseline:

0 commit comments

Comments
 (0)