fix cplot with non-float/int interval specification
This commit is contained in:
@@ -172,6 +172,7 @@ def cplot(ctx, f, re=[-5,5], im=[-5,5], points=2000, color=None,
|
||||
w[n,m] = v
|
||||
if verbose:
|
||||
print n, "of", N
|
||||
rea, reb, ima, imb = map(float, [rea, reb, ima, imb])
|
||||
axes.imshow(w, extent=(rea, reb, ima, imb), origin='lower')
|
||||
axes.set_xlabel('Re(z)')
|
||||
axes.set_ylabel('Im(z)')
|
||||
|
||||
Reference in New Issue
Block a user