from IPython import display display.clear_output(wait=True)