-
Notifications
You must be signed in to change notification settings - Fork 224
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
pygmt.conf() can't find default for FONT #409
Comments
However — the command pygmt.config(MAP_FRAME_TYPE='fancy') works as expected. Does |
I'm not very familiar with GMT's settings, but looking at https://docs.generic-mapping-tools.org/latest/gmt.conf.html#font-parameters, it says:
so I guess that means there's no default? I think we'll need to wrap the below code around a Lines 166 to 168 in 5a5091e
|
Ok, so there seems to be 7 settings without default settings. Besides
* FORMAT_TIME_PRIMARY_MAP, FORMAT_TIME_SECONDARY_MAP I could do an 'allowlist' to map the 6 types above to their corresponding |
Hmm, that's actually a tricky problem since we can't access I'm not familiar with context managers, but is there a way to raise an error if someone tries to set |
It's a good solution for me. For |
Description of the problem
The code
runs fine. But the equivalent
pygmt.config()
has trouble.Full code that generated the error
Full error message
System information
conda list
below:output of conda list
The text was updated successfully, but these errors were encountered: