Add tests for GMTInvalidInput for figure.py (#810)
Add tests for GMTInvalidInput for figure.py (#810)

* Add test for savefig invalid file extension
* Add test for invalid show method passed
GenericMappingTools/gmt-python,GenericMappingTools/gmt-python