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

Skip to content

Commit 45a5ab6

Browse files
committed
fixed a small bug in fill_between
svn path=/trunk/matplotlib/; revision=6441
1 parent 08bde66 commit 45a5ab6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

examples/pylab_examples/fill_between.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
# because of edge effects over multiple contiguous regions.
2929
fig = figure()
3030
ax = fig.add_subplot(111)
31-
ax1.plot(x, y1, x, y2, color='black')
31+
ax.plot(x, y1, x, y2, color='black')
3232
ax.fill_between(x, y1, y2, where=y2>y1, facecolor='green')
3333
ax.fill_between(x, y1, y2, where=y2<=y1, facecolor='red')
3434
ax.set_title('fill between where')

0 commit comments

Comments
 (0)