##// END OF EJS Templates
return f with @interact, not just @interact(**kwargs)
MinRK -
Show More
@@ -230,6 +230,7 b' def interact(__interact_f=None, **kwargs):'
230 w = interactive(f, **kwargs)
230 w = interactive(f, **kwargs)
231 f.widget = w
231 f.widget = w
232 display(w)
232 display(w)
233 return f
233 else:
234 else:
234 # This branch handles the case:
235 # This branch handles the case:
235 # @interact(a=30, b=40)
236 # @interact(a=30, b=40)
General Comments 0
You need to be logged in to leave comments. Login now