Skip to content

Figure.grdtrack: Deprecate parameter crossprofile to cross_profile (Will be removed in v0.2X.0) - #4278

Draft
yvonnefroehlich wants to merge 3 commits into
mainfrom
deprecate-grdtrack-crossprofile
Draft

yvonnefroehlich wants to merge 3 commits into
mainfrom
deprecate-grdtrack-crossprofile

Conversation

@yvonnefroehlich

@yvonnefroehlich yvonnefroehlich commented Dec 12, 2025 •

Copy link
Copy Markdown
Member

Description of proposed changes

Use underscores between words in parameter names; related to #2014.
Or do we prefer to keep this without underscore?

Preview: https://pygmt-dev--4278.org.readthedocs.build/en/4278/api/generated/pygmt.grdtrack.htm

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 this to the 0.18.0 milestone Dec 12, 2025
@yvonnefroehlich yvonnefroehlich self-assigned this Dec 12, 2025
@yvonnefroehlich yvonnefroehlich added the deprecation Deprecating a feature label Dec 12, 2025
@yvonnefroehlich yvonnefroehlich changed the title Figure.grdtrack Deprecate parameter crossprofile to cross_profile (Will be removed in v0.20.0) Figure.grdtrack: Deprecate parameter crossprofile to cross_profile (Will be removed in v0.20.0) Dec 12, 2025
@seisman

seisman commented Dec 13, 2025

Copy link
Copy Markdown
Member

This parameter now takes non-Pythonic arguments in the format of length/ds[/spacing][+a|v][d|fvalue][l|r]. I prefer to keep it unchanged for now and only rename it after more discussions.

@yvonnefroehlich
yvonnefroehlich marked this pull request as draft December 13, 2025 06:45
@seisman seisman removed this from the 0.18.0 milestone Dec 18, 2025
@yvonnefroehlich yvonnefroehlich changed the title Figure.grdtrack: Deprecate parameter crossprofile to cross_profile (Will be removed in v0.20.0) Figure.grdtrack: Deprecate parameter crossprofile to cross_profile (Will be removed in v0.2X.0) Feb 6, 2026

This branch has not been deployed

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

Labels

deprecation Deprecating a feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants