8000 Use kwarg for loc in findobj_demo.py · matplotlib/matplotlib@79b3112 · GitHub
[go: up one dir, main page]

Skip to content

Commit 79b3112

Browse files
committed
Use kwarg for loc in findobj_demo.py
1 parent d5c5c6c commit 79b3112

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/pylab_examples/findobj_demo.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
fig, ax = plt.subplots()
1414
plt.plot(a, c, 'k--', a, d, 'k:', a, c+d, 'k')
1515
plt.legend(('Model length', 'Data length', 'Total message length'),
16-
'upper center', shadow=True)
16+
loc='upper center', shadow=True)
1717
plt.ylim([-1, 20])
1818
plt.grid(False)
1919
plt.xlabel('Model complexity --->')

0 commit comments

Comments
 (0)
0