I've been using JupyterLab with matplotlib.pyplot for a while, and I wonder if there's some way to update plots and images from Python in realtime? (for example to show how loss function evolves) Currently i've been using IPython.display.clear_output() function in loop to clear the output before plotting, but this creates horrible flickering. The solution doesn't have to be optimal, as I'm sure pyplot would be fast enough to render the data, but the problem is mainly the fact that the image doesn't update directly but instead the whole output has to be cleared first. Continue reading...