from IPython.display import Image, SVG
Image(filename='voila.png')
Caption: Voilà logo
# useless comment
from random import randint
svg = ("<svg>" +
"".join(f'<circle ' \
f'r="{randint(0, 10)}" '\
f'cx="{randint(10, 200)}" '\
f'cy="{randint(10, 150)}" ' \
f'style="fill: hsl({randint(0, 360)}, 100%, 50%);" />' for i in range(100))
+ "</svg>")
SVG(svg)
Caption: SVG circles
# useful comment