Skip to content

Comments

Figure.magnetic_rose: Let declination_label support string with whitespaces#4422

Open
seisman wants to merge 1 commit intomainfrom
magnetic_rose/label
Open

Figure.magnetic_rose: Let declination_label support string with whitespaces#4422
seisman wants to merge 1 commit intomainfrom
magnetic_rose/label

Conversation

@seisman
Copy link
Member

@seisman seisman commented Feb 20, 2026

GMT CLI also doesn't support declination labels with whitespaces. This PR patches it by replacing whitespaces with octal codes \040.

GMT CLI version:

gmt basemap -R0/10/0/10 -JM10c -Tmx0/0+w5c+d30/"123 N" -pdf map

Patches #4051

@seisman seisman added this to the 0.19.0 milestone Feb 20, 2026
@seisman seisman added bug Something isn't working skip-changelog Skip adding Pull Request to changelog needs review This PR has higher priority and needs review. labels Feb 20, 2026
@github-actions
Copy link
Contributor

Summary of changed images

This is an auto-generated report of images that have changed on the DVC remote

Status Path
modified pygmt/tests/baseline/test_magnetic_rose_complete.png

Image diff(s)

Details

Added images

Modified images

Path Old New
test_magnetic_rose_complete.png

Report last updated at commit c2012e2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working needs review This PR has higher priority and needs review. skip-changelog Skip adding Pull Request to changelog

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant