Skip to content

Conversation

@seisman
Copy link
Member

@seisman seisman commented Nov 16, 2025

See #4168 (comment) for context.

This PR implements the Position class.

Usage:

>>> import pygmt
>>> fig = pygmt.Figure()
>>> fig.basemap(region=[0, 10, 0, 10], projection="X10c", frame=True)
>>> fig.logo(
...:     position=pygmt.params.Position((3, 3), type="mapcoords", anchor="ML", offset=(0.2, 0.2)),
...:     box=True,
...: )
>>> fig.show()

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants