mirror of
https://github.com/jupyter/notebook.git
synced 2025-03-13 13:17:50 +08:00
Adding .widget to function.
This commit is contained in:
parent
93047f1d3c
commit
5853bb8ff7
@ -135,4 +135,5 @@ def interactive(f, **kwargs):
|
||||
|
||||
def interact(f, **kwargs):
|
||||
w = interactive(f, **kwargs)
|
||||
f.widget = w
|
||||
display(w)
|
||||
|
Loading…
x
Reference in New Issue
Block a user