Skip to content

Commit 67a7ee8

Browse files
committed
Merge pull request matplotlib#3294 from fvgoto/patch-1
BUG : fix typo in figlegend_demo.py
1 parent 4d83fa7 commit 67a7ee8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/pylab_examples/figlegend_demo.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
y3 = np.sin(4*np.pi*x)
1414
y4 = np.exp(-2*x)
15-
l3, l4 = ax2.plot(x, y3, 'yd-', x, y3, 'k^')
15+
l3, l4 = ax2.plot(x, y3, 'yd-', x, y4, 'k^')
1616

1717
fig.legend((l1, l2), ('Line 1', 'Line 2'), 'upper left')
1818
fig.legend((l3, l4), ('Line 3', 'Line 4'), 'upper right')

0 commit comments

Comments
 (0)