close the plots