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

Skip to content

Commit 0aae0f0

Browse files
committed
Don't hardcode linewidth
1 parent 7718b15 commit 0aae0f0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

examples/pylab_examples/annotation_demo.py

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

4949
t = np.arange(0.0, 5.0, 0.01)
5050
s = np.cos(2*np.pi*t)
51-
line, = ax.plot(t, s, lw=3)
51+
line, = ax.plot(t, s)
5252

5353
ax.annotate('axes center', xy=(.5, .5), xycoords='axes fraction',
5454
horizontalalignment='center', verticalalignment='center')

0 commit comments

Comments
 (0)