delete a figure