-
Notifications
You must be signed in to change notification settings - Fork 216
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Let the build_arg_string function handle GMT configurations #2299
Comments
Ping @GenericMappingTools/pygmt-maintainers for comments on this enhancement before I start to work on it. |
Sounds good from my side! |
Just to be clear, do you intend the |
It's only for internal use. |
Ok, that sounds good. |
Originally posted by @seisman in #2208 (comment)
When working on the
Figure.timestamp
function, I feel sometimes we may need to pass GMT's configurations directly to the GMT C API, i.e., passing a string like--FONT_LABEL=xxxx
to thecall_module
function.I propose to add a new parameter (e.g.,
confdict
) to thebuild_arg_string
function, which takes a dict and convert key-value pairs to the form of--key=value
, e.g.,The text was updated successfully, but these errors were encountered: