From 6e4a67e4c0042a42315d5544e1450c84a98071de 2014-02-07 01:06:07 From: MinRK Date: 2014-02-07 01:06:07 Subject: [PATCH] finish removing *args support --- diff --git a/IPython/html/widgets/interaction.py b/IPython/html/widgets/interaction.py index d3d5337..a43057e 100644 --- a/IPython/html/widgets/interaction.py +++ b/IPython/html/widgets/interaction.py @@ -201,13 +201,13 @@ def interactive(__interact_f, **kwargs): # Build the callback def call_f(name, old, new): - container.args = [] + container.kwargs = {} for widget in kwargs_widgets: value = widget.value container.kwargs[widget.description] = value if co: clear_output(wait=True) - container.result = f(*container.args, **container.kwargs) + container.result = f(**container.kwargs) # Wire up the widgets for widget in kwargs_widgets: