[IPython-dev] help with @interactive

Mark Bakker markbak at gmail.com
Sun Jan 19 16:18:18 EST 2014


Hello List,

I am trying to do this (got this from one of Fernando's Notebooks):

@interactive( x=(0,10) )
def f(x):
    print 'x is: ',x

But I get an error:

TypeError: interactive() got an unexpected keyword argument 'x'

Any thoughts? I am running 1.0.0-2

Thanks,

Mark
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20140119/410b274d/attachment.html>


More information about the IPython-dev mailing list