[IPython-dev] More widget feasibility ideas

Nicholas Bollweg nick.bollweg at gmail.com
Mon Oct 27 20:50:48 EDT 2014

right, you'd switch it out to another context:

from IPython.html import widgets
> from IPython.display import display
> for context in ["info", "danger", "warning", "success"]:
>     display(widgets.HTML(value=context, _dom_classes=["alert", "alert-" +
> context]))
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20141027/d3c6e184/attachment.html>

More information about the IPython-dev mailing list