Jupyter notebook
#output as HTML
def bar(new_html):
from IPython.display import display, HTML
chart = HTML(str(new_html))
display(chart)
bar()
#output as HTML
def bar(new_html):
from IPython.display import display, HTML
chart = HTML(str(new_html))
display(chart)
bar()