The following code displays the HTML in the result cell of the IPython command:
from IPython.core.display import HTML def putHTML(): source = """ <h1>Yah, rendered HTML</h1> <h2>Here is an image</h2> <img src="http://lbkbd.in/wp-content/uploads/2014/10/HTML-Logo.png"/> """ return HTML(source)

How can I use this approach to include the numbers created by matplotlib on the fly in the HTML layout?
python html matplotlib ipython ipython-notebook
clstaudt
source share