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

Thomas Kluyver takowl at gmail.com
Thu Jul 17 12:59:00 EDT 2014

On 16 July 2014 09:47, TARUN GABA <tarun.gaba7 at gmail.com> wrote:

>     def my_func():
>         HTML("<b>Some html</b>")
>         some_widget.interact #display widget

HTML() only creates an HTML display object, it doesn't actually display it.
If you put it at the end of the cell, then it's is displayed automatically,
but to display it anywhere else, you'll need to call
IPython.display.display() on it.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20140717/38216ff2/attachment.html>

More information about the IPython-dev mailing list