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

Skip to content

Commit f451637

Browse files
committed
changed legend_demo location
svn path=/trunk/matplotlib/; revision=65
1 parent ee3fa12 commit f451637

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

examples/legend_demo.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@
1010

1111
ax = subplot(111)
1212
plot(a,c,'k--',a,d,'k:',a,c+d,'k')
13-
legend(('Model length', 'Data length', 'Total message length'), 'upper right')
13+
legend(('Model length', 'Data length', 'Total message length'),
14+
'upper center')
1415
ax.set_ylim([-1,20])
1516
ax.grid(0)
1617
xlabel('Model complexity --->')

0 commit comments

Comments
 (0)