pygmt.clib.Session.__exit__

Session.__exit__(exc_type, exc_value, traceback)[source]

Destroy the currently open GMT API session.

Calls pygmt.clib.Session.destroy.