import itertools
import time
from IPython.display import Markdown
Make a display handle.
dh = display(display_id=True)
Show some Markdown (or plain text, or a plot, or ...)
display(Markdown('# Display Update Fun'))
dh.display(Markdown(''))
Update the display above.
for i in itertools.cycle(range(0x1F600, 0x1F650)):
dh.update(Markdown(f'## &#{i}; {hex(i)}'))
time.sleep(0.5)