結果 : how to update plot in a loop python