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

TARUN GABA tarun.gaba7 at gmail.com
Fri Jul 18 14:16:24 EDT 2014

Thanks a lot for all the replies.

I got it working with a call to `display` method for my HTML content.
Although Now, I have decided to create a ContainerWidget, and
use HTMLWidget instead of HTML(). This seems a more viable
option, since I have other widgets too, and they all can be combined in
a container.
So something like:

   def my_new_method():
       container = ContainerWidget()
       html_widget = HTMLWidget("html content here!")
       other_widgets = OtherWidgets()
       container.children = [ .., .. ]

Havent tested it though!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20140718/1b71fb34/attachment.html>

More information about the IPython-dev mailing list