sphinx_gmt.gmtplot.environ

sphinx_gmt.gmtplot.environ(env)[source]

Temporarily set environment variables inside the context manager and fully restore previous environment afterwards.