Skip to content

Conversation

@seisman
Copy link
Member

@seisman seisman commented Oct 23, 2025

No description provided.

@seisman seisman added this to the 0.18.0 milestone Oct 23, 2025
@seisman seisman added maintenance Boring but important stuff for the core devs skip-changelog Skip adding Pull Request to changelog needs review This PR has higher priority and needs review. labels Oct 23, 2025
module="subplot",
args=[
"set",
_to_string(panel, sep=",", size=2),
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can't directly use the Alias/AliasSystem classes like in other wrappers, because panel is an argument of a GMT option. The GMT CLI syntax is:

gmt subplot set <panel>

so we have to use the private _to_string method here.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not ideal. Converting to draft PR.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

so we have to use the private _to_string method here.

Now using Alias._value instead.

@seisman seisman removed the needs review This PR has higher priority and needs review. label Nov 5, 2025
@seisman seisman marked this pull request as draft November 5, 2025 08:20
@seisman seisman marked this pull request as ready for review November 7, 2025 09:11
@seisman seisman added the needs review This PR has higher priority and needs review. label Nov 7, 2025
@seisman seisman added final review call This PR requires final review and approval from a second reviewer and removed needs review This PR has higher priority and needs review. final review call This PR requires final review and approval from a second reviewer labels Nov 8, 2025
@seisman seisman merged commit b50b4eb into main Nov 9, 2025
24 of 25 checks passed
@seisman seisman deleted the AliasSystem/subplot-panel branch November 9, 2025 14:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

maintenance Boring but important stuff for the core devs skip-changelog Skip adding Pull Request to changelog

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants