[sage-devel] Re: complex_plot and fractals

2009-06-16 Thread Robert Bradshaw
On Jun 15, 2009, at 3:08 PM, Tom Boothby wrote: > > The error isn't in your code, I've duplicated this with much > simpler code. > > {{{ > %cython > from sage.rings.all import CC > def foo(z): > return CC(z) > }}} > > {{{ > complex_plot(foo,(0,1),(0,1)) > /// > Traceback (click to the left

[sage-devel] Re: complex_plot and fractals

2009-06-15 Thread Tom Boothby
The error isn't in your code, I've duplicated this with much simpler code. {{{ %cython from sage.rings.all import CC def foo(z): return CC(z) }}} {{{ complex_plot(foo,(0,1),(0,1)) /// Traceback (click to the left for traceback) ... TypeError: a float is required }}} {{{ complex_plot(lambda