... the figure only updates once the loop is over. Btw. very weird depending on what I do I get fewer or more trials ...