Skip to content

POC: WIP: Figure.inset: Set the default position to the top right#4721

Draft
yvonnefroehlich wants to merge 2 commits into
mainfrom
update-default-inset
Draft

POC: WIP: Figure.inset: Set the default position to the top right#4721
yvonnefroehlich wants to merge 2 commits into
mainfrom
update-default-inset

Conversation

@yvonnefroehlich

Copy link
Copy Markdown
Member

Similar to #4702, but for Figure.inset.

PyGMT uses the default Position((0, 0), cstype="plotcoords"), but for GMT > 6.6.0 the default in GMT is TR.
The defaults should be consistent across GMT and PyGMT, however this causes breaking backward compatibility.
Need to disscuss and decide how to proceed here.

Fixes #

Preview:

Guidelines

Slash Commands

You can write slash commands (/command) in the first line of a comment to perform
specific operations. Supported slash command is:

  • /format: automatically format and lint the code

@yvonnefroehlich yvonnefroehlich added maintenance Boring but important stuff for the core devs deprecation Deprecating a feature labels Jul 7, 2026
@yvonnefroehlich yvonnefroehlich marked this pull request as draft July 7, 2026 11:23
@yvonnefroehlich yvonnefroehlich mentioned this pull request Jul 7, 2026
43 tasks
@seisman

seisman commented Jul 7, 2026

Copy link
Copy Markdown
Member

I prefer not to change the default behavior, because it's backward incompatible.

@yvonnefroehlich

Copy link
Copy Markdown
Member Author

Should we add a note for the differing defaults?

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

Labels

deprecation Deprecating a feature maintenance Boring but important stuff for the core devs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants