remove the figure.