Versions:
- IPython 4.0.3
- Jupyter 1.0.0
Example code:
import IPython.display
IPython.display.display_html("<b>foo bar</b>")
What happens when I run this cell? No visible output.
What is expected? It should show the words "foo bar" in bold.
What works? IPython.display.display(IPython.display.HTML("<b>foo bar</b>")).
Am I doing the right thing here? How do I just show an object formatted as HTML? I want to show several objects in one cell execution, so just putting the object as the last thing in the cell isn't sufficient.
The documentation seems to imply this should work.
Versions:
Example code:
What happens when I run this cell? No visible output.
What is expected? It should show the words "foo bar" in bold.
What works?
IPython.display.display(IPython.display.HTML("<b>foo bar</b>")).Am I doing the right thing here? How do I just show an object formatted as HTML? I want to show several objects in one cell execution, so just putting the object as the last thing in the cell isn't sufficient.
The documentation seems to imply this should work.