Python Matplotlib Savefig Example Of Resignation