Skip to content

Conversation

seisman
Copy link
Member

@seisman seisman commented Jul 26, 2025

GMT has 9 different embellishments, and they all share the same syntax for positioning. Refer to https://docs.generic-mapping-tools.org/6.5/reference/features.html#plot-embellishments for details.

The logo module's -D option has the following syntax:

-D[g|j|J|n|x]refpoint[+hheight|+wwidth][+jjustify][+odx[/dy]] 

in which [g|j|J|n|x]refpoint[+jjustify][+odx[/dy]] are common to all GMT embellishments.

Preview: https://pygmt-dev--4014.org.readthedocs.build/en/4014/api/generated/pygmt.Figure.logo.html

@seisman seisman changed the title Figure.logo: Refactor using the new alias system WIP: Figure.logo: Refactor using the new alias system Jul 26, 2025
Base automatically changed from AliasSystem/aliassystem to main July 29, 2025 04:09
@seisman seisman changed the title WIP: Figure.logo: Refactor using the new alias system Figure.logo: Refactor using the new alias system Sep 9, 2025
@seisman seisman added the enhancement Improving an existing feature label Sep 12, 2025
@seisman seisman added this to the 0.17.0 milestone Sep 12, 2025
@seisman seisman changed the title Figure.logo: Refactor using the new alias system Figure.logo: More Pythonic syntax to specify its location and size Sep 12, 2025
@seisman seisman changed the title Figure.logo: More Pythonic syntax to specify its location and size Figure.logo: Add parameters to specify its location and size Sep 12, 2025
@seisman seisman changed the title Figure.logo: Add parameters to specify its location and size Figure.logo: Add parameters to specify the location and size Sep 12, 2025
@seisman seisman marked this pull request as ready for review September 12, 2025 04:45
@seisman seisman added the needs review This PR has higher priority and needs review. label Sep 12, 2025
@seisman seisman changed the title Figure.logo: Add parameters to specify the location and size Figure.logo: Add Pythonic parameters to specify the location and size Sep 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Improving an existing feature needs review This PR has higher priority and needs review.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant