You are working on the GenericMappingTools/pygmt repository. The source code is checked out at /testbed at…
You are working on the GenericMappingTools/pygmt repository. The source code is checked out at /testbed at…: a task in SWE-Lego-RL-2699 (Harbor dataset). File /pygmt/figure.py:315, in Figure.savefig(self, fname, transparent, crop, anti alias, show, kwargs) 310 if ext == "ps": 311 raise…
The task
File /pygmt/figure.py:315, in Figure.savefig(self, fname, transparent, crop, anti_alias, show, **kwargs) 310 if ext == "ps": 311 raise GMTInvalidInput( 312 "Extension '.ps' is not supported. " 313 "Please use '.eps' or '.pdf' instead." 314 ) --> 315 raise GMTInvalidInput(f"Unknown extension '.{ext}'.") 316 fmt =…
Part of Lego-X/Lego-RL-2699.