How to update a Julia plot without the window grabbing the focus?

Yes that shouldn’t happen when you don’t display the plot.