Explicit paths#

The canonical API does not change the process working directory or infer a script path. Use pathlib.Path for path inspection and pass output paths to gsplot.save or gsplot.write_meta explicitly.

import gsplot as gs

# Canonical gsplot operations receive paths explicitly; they do not change the
# caller's directory or inspect machine-specific path state.
print("package metadata:", gs.build_info())