You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Let the build_arg_string function handle GMT configurations #2299
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 the call_module function.
I propose to add a new parameter (e.g., confdict) to the build_arg_string function, which takes a dict and convert key-value pairs to the form of --key=value, e.g.,
Just to be clear, do you intend the --FONT_LABEL options to be internal only, or should users be allowed to do something like fig.timestamp(..., FONT_LABEL="xxxx")? By the way, this seems similar to what was discussed in #455.
Activity
seisman commentedon Jan 7, 2023
Ping @GenericMappingTools/pygmt-maintainers for comments on this enhancement before I start to work on it.
michaelgrund commentedon Jan 7, 2023
Sounds good from my side!
weiji14 commentedon Jan 8, 2023
Just to be clear, do you intend the
--FONT_LABELoptions to be internal only, or should users be allowed to do something likefig.timestamp(..., FONT_LABEL="xxxx")? By the way, this seems similar to what was discussed in #455.seisman commentedon Jan 9, 2023
It's only for internal use.
weiji14 commentedon Jan 9, 2023
Ok, that sounds good.