<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Mon, Jan 20, 2014 at 2:52 AM, Matthias BUSSONNIER <span dir="ltr"><<a href="mailto:bussonniermatthias@gmail.com" target="_blank">bussonniermatthias@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><br><div><div>Le 19 janv. 2014 à 22:18, Mark Bakker a écrit :</div><div class="im"><br>
<blockquote type="cite"><div dir="ltr">Hello List,<div><br></div><div>I am trying to do this (got this from one of Fernando's Notebooks):</div><div><br></div><div>@interactive( x=(0,10) )</div><div>def f(x):</div><div>
print 'x is: ',x</div>
<div><br></div><div>But I get an error:</div><br>TypeError: interactive() got an unexpected keyword argument 'x'<div><br></div></div></blockquote><div><br></div></div><div>@interactive is still in development, and not even yet in master, </div>
<div>Fernando was (most probably) using a patched version. </div></div></div></blockquote><div><br></div><div>correct, I was running a local merge of #4374, together with a locally redefined @interactive.</div><div><br></div>
<div>Mark, rather than jumping through these hoops, I recommend you wait a few more days til we can properly merge this code with official APIs. All that experimentation we were doing individually was taken into account for the design of what our final APIs will look like.</div>
<div><br></div><div>If you have any feedback, feel free to leave it on the PR discussion page.</div><div><br></div><div>Cheers,</div><div><br></div><div>f </div></div>
</div></div>