Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 75f8bfa

Browse files
committed
fixed poly below
svn path=/branches/v0_91_maint/; revision=6428
1 parent c22ad48 commit 75f8bfa

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

lib/matplotlib/mlab.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1435,9 +1435,10 @@ def poly_below(ymin, xs, ys):
14351435
that has a horzintal base at ymin and an upper bound at the ys.
14361436
ymin is a scalar, and xs and ys are arrays
14371437
1438-
intended for use with Axes.fill, eg
1439-
xv, yv = poly_below(0, x, y)
1440-
ax.fill(xv, yv)
1438+
intended for use with Axes.fill, eg::
1439+
1440+
xv, yv = poly_below(0, x, y)
1441+
ax.fill(xv, yv)
14411442
"""
14421443
return poly_between(xs, ys, xmin)
14431444

0 commit comments

Comments
 (0)