Skip to content

Commit

Permalink
Merge branch 'main' into ci/unpin-geopandas
Browse files Browse the repository at this point in the history
  • Loading branch information
seisman authored Dec 4, 2024
2 parents 20ede1b + c4ea77e commit 2ed4bb3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pygmt/clib/session.py
Original file line number Diff line number Diff line change
Expand Up @@ -400,6 +400,8 @@ def print_func(file_pointer, message): # noqa: ARG001
self._print_callback = print_func

padding = self["GMT_PAD_DEFAULT"]
# GMT_SESSION_EXTERNAL: GMT is called by an external wrapper.
# GMT_SESSION_NOGDALCLOSE: Do not call GDALDestroyDriverManager when using GDAL.
session_type = self["GMT_SESSION_EXTERNAL"] + self["GMT_SESSION_NOGDALCLOSE"]
session = c_create_session(name.encode(), padding, session_type, print_func)

Expand Down

0 comments on commit 2ed4bb3

Please sign in to comment.