deleting figure directory