The function I use is the callback function of a button. My issue is that when I execute a loop in the callback function, the plots in the UI Figure don´t update during the loop, but only show the last state after the loop is finished. I´d like to see the changing plot during the while loop in the UI Figure. Is this even possible, or do I have to add other functions, etc.?