Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e76996f commit 81005eeCopy full SHA for 81005ee
1 file changed
examples/pylab_examples/legend_demo2.py
@@ -13,7 +13,7 @@
13
l2, l3 = plt.plot(t2, np.sin(2 * np.pi * t2), '--go', t1, np.log(1 + t1), '.')
14
l4, = plt.plot(t2, np.exp(-t2) * np.sin(2 * np.pi * t2), 'rs-.')
15
16
-plt.legend( (l2, l4), ('oscillatory', 'damped'), 'upper right', shadow=True)
+plt.legend( (l2, l4), ('oscillatory', 'damped'), loc='upper right', shadow=True)
17
plt.xlabel('time')
18
plt.ylabel('volts')
19
plt.title('Damped oscillation')
0 commit comments