Close figures after plotting.
Remove figure closing in example