[IPython-dev] help with @interactive
Matthias BUSSONNIER
bussonniermatthias at gmail.com
Mon Jan 20 05:52:11 EST 2014
Le 19 janv. 2014 à 22:18, Mark Bakker a écrit :
> 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'
>
@interactive is still in development, and not even yet in master,
Fernando was (most probably) using a patched version.
> Any thoughts? I am running 1.0.0-2
Have look at https://github.com/ipython/ipython/pull/4374
--
M
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20140120/8f5ddc00/attachment.html>
More information about the IPython-dev
mailing list