Python Matplotlib Pyplot Figure Close