-
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
Update pygmt.config baseline images for GMT 6.2.0rc1 #1235
Conversation
Summary of changed imagesThis is an auto-generated report of images that have changed on the DVC remote
Image diff(s)Added imagesModified imagesReport last updated at commit d70061c |
|
Yeah, why is it 4 instead of -4? Upstream bug? pygmt/pygmt/tests/test_config.py Lines 55 to 64 in 3a4f2f5
Same case with test_config_font_one.png |
This is a consequence of FORMAT_GEO_MAP changing from ddd:mm:ss to ddd:mm:ssF. Feel free to open a GMT issue if you think FORMAT_GEO_MAP should not change these annotations. |
Ok, I see at https://docs.generic-mapping-tools.org/6.2.0rc1/theme-settings.html#default-settings-for-build-in-themes that @meghanrjones, could you link to the discussion on why |
If there was a discussion about this, it would have happened in this PR: GenericMappingTools/gmt#3344. I do not remember any discussion after Paul's initial suggestion that maps should have the indicators on them, but I may have missed it. It might be possible to have an |
Thanks Meghan. Combing through the ~250 comments, the only reference I can find on
which makes sense. Looking more closely at the changed figure, I think it's fine without the minus sign, the plot is actually correct because the declination annotation says 4°30W to indicate that it is pointing to the West. Before (in GMT 6.1.1), it would just use -4°30'. In this case, can I get an approval for this PR? Unless there are other concerns. |
I think it's weird to add E or W suffix to declination angles. Ping @PaulWessel to confirm whether it's a bug or expected. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
After reading the magnetic declination wikipedia page, I realize that both -4°30'
and 4°30'W
are correct expressions for magnetic declination.
Now this PR is good to merge.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me.
Description of proposed changes
Updates baseline images for the
pygmt.config
tests.Addresses #1217
Reminders
make format
andmake check
to make sure the code follows the style guide.doc/api/index.rst
.Slash Commands
You can write slash commands (
/command
) in the first line of a comment to performspecific operations. Supported slash commands are:
/format
: automatically format and lint the code/test-gmt-dev
: run full tests on the latest GMT development version