Clear figure between graph generations