pygmt.clib.Session.__enter__

Session.__enter__()[source]

Create a GMT API session.

Calls pygmt.clib.Session.create.