Adding .widget to function.

This commit is contained in:
Brian E. Granger 2014-01-30 13:29:47 -08:00 committed by MinRK
parent 93047f1d3c
commit 5853bb8ff7

View File

@ -135,4 +135,5 @@ def interactive(f, **kwargs):
def interact(f, **kwargs):
w = interactive(f, **kwargs)
f.widget = w
display(w)