Verbose prints a tuple instead of a string

Should be "5 of 10" instead of (5, 'of', 10)
This commit is contained in:
endolith
2013-03-19 18:56:29 -03:00
parent 63b247c5cf
commit c0a71da1e6
+1 -1
View File
@@ -174,7 +174,7 @@ def cplot(ctx, f, re=[-5,5], im=[-5,5], points=2000, color=None,
v = (0.5, 0.5, 0.5)
w[n,m] = v
if verbose:
print(n, "of", N)
print(str(n) + ' of ' + str(N))
rea, reb, ima, imb = [float(_) for _ in [rea, reb, ima, imb]]
axes.imshow(w, extent=(rea, reb, ima, imb), origin='lower')
axes.set_xlabel('Re(z)')