##// END OF EJS Templates
finish removing *args support
MinRK -
Show More
@@ -201,13 +201,13 b' def interactive(__interact_f, **kwargs):'
201 201
202 202 # Build the callback
203 203 def call_f(name, old, new):
204 container.args = []
204 container.kwargs = {}
205 205 for widget in kwargs_widgets:
206 206 value = widget.value
207 207 container.kwargs[widget.description] = value
208 208 if co:
209 209 clear_output(wait=True)
210 container.result = f(*container.args, **container.kwargs)
210 container.result = f(**container.kwargs)
211 211
212 212 # Wire up the widgets
213 213 for widget in kwargs_widgets:
General Comments 0
You need to be logged in to leave comments. Login now