Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit e8d58af

Browse files
Merge pull request matplotlib#29853 from thedatacurious/doc-branch
2 parents cb9fcd6 + 6d71c60 commit e8d58af

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

‎lib/matplotlib/stackplot.py‎

Lines changed: 3 additions & 3 deletions
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)

AltStyle によって変換されたページ (->オリジナル) /