Update Rhino view in ghPython


I am wirting a script in grasshopper python that contains a a for loop. In every loop i add new geometries. Is there a way to show “live” the geometries appearing (like an animation) and not at the end when the component have finishe the calculations?