Skip to content

Commit c3c5f27

Browse files
committed
Fix print function calls by adding parentheses.
1 parent a41d821 commit c3c5f27

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

scripts/linestyles.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ def linestyle(ls,name):
1212
plot(X,Y,ls,color=(.0,.0,1,1), lw=3, ms=10, mfc=(.75,.75,1,1), mec=(0,0,1,1))
1313
xlim(0,10)
1414
xticks([]), yticks([])
15-
print'../figures/linestyle-%s.png' % name
15+
print('../figures/linestyle-%s.png' % name)
1616
savefig('../figures/linestyle-%s.png' % name, dpi=dpi)
1717

1818
for ls in ['-','--',':',',','o','^','v','<','>','s',

scripts/markers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ def marker(m,name):
1212
plot(X,Y,color='w', lw=1, marker=m, ms=10, mfc=(.75,.75,1,1), mec=(0,0,1,1))
1313
xlim(0,10)
1414
xticks([]), yticks([])
15-
print '../figures/marker-%s.png' % name
15+
print('../figures/marker-%s.png' % name)
1616
savefig('../figures/marker-%s.png' % name, dpi=dpi)
1717

1818
#print"""

0 commit comments

Comments
 (0)