diff --git a/IPython/html/widgets/interact.py b/IPython/html/widgets/interact.py
index c7243ef..3707d09 100644
--- a/IPython/html/widgets/interact.py
+++ b/IPython/html/widgets/interact.py
@@ -135,4 +135,5 @@ def interactive(f, **kwargs):
def interact(f, **kwargs):
w = interactive(f, **kwargs)
+ f.widget = w
display(w)