[IPython-dev] HTML display does not works when using Widgets

Matthias Bussonnier bussonniermatthias at gmail.com
Thu Jul 17 11:37:49 EDT 2014

Hello tarun. 
Le 16 juil. 2014 à 18:47, TARUN GABA a écrit :
> this is the code snippet, I am trying to implement:
>     def my_func():
>         HTML("<b>Some html</b>")
>         some_widget.interact #display widget

Here you are creating an HTML object, that you do not  assign to anything, and do not display() it. 
I'am not sure why you expect it to be on the page. 
Are you trying to pass the HTML object to the widget ? 


More information about the IPython-dev mailing list