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

Brian Granger ellisonbg at gmail.com
Thu Jul 17 10:58:07 EDT 2014

Wrap the HTML is a call to IPython.display.display

On Wed, Jul 16, 2014 at 9:47 AM, TARUN GABA <tarun.gaba7 at gmail.com> wrote:
> Hi all
> I am working on a module, which requires use of IPython widgets and some
> rendered HTML.
> I am using the dev branch from the repository.
>     $ ipython --version
>     3.0.0-dev
> this is the code snippet, I am trying to implement:
>     def my_func():
>         HTML("<b>Some html</b>")
>         some_widget.interact #display widget
> When I call this function from the notebook, only widget is rendered on the
> output cell, not the HTML.
> I guess that might be because widgets use different "type" of output method
> compared to usual output method.
> Can anybody please point me to the best way to implement it(both HTML and
> widget in same output cell.)
> Thanks
> Tarun Gaba
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev

Brian E. Granger
Cal Poly State University, San Luis Obispo
@ellisonbg on Twitter and GitHub
bgranger at calpoly.edu and ellisonbg at gmail.com

More information about the IPython-dev mailing list