Skip to content

Figure.grdview: Add alias "smooth" for the -S option#4444

Merged
seisman merged 9 commits intomainfrom
copilot/add-alias-for-option-s
Mar 5, 2026
Merged

Figure.grdview: Add alias "smooth" for the -S option#4444
seisman merged 9 commits intomainfrom
copilot/add-alias-for-option-s

Conversation

Copy link
Contributor

Copilot AI commented Mar 5, 2026

Two small fixes to the smooth parameter (-S) in Figure.grdview:

  • Docstring: Rewrote the smooth parameter description to match the canonical GMT phrasing — "Sets the smooth factor used for smoothing the contours before plotting [Default is no smoothing]."
  • AliasSystem ordering: Moved S=Alias(smooth, name="smooth") to its correct alphabetical position (after N/Q, before Wc/Wf/Wm).

💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Co-authored-by: seisman <3974108+seisman@users.noreply.github.com>
Copilot AI changed the title [WIP] Add alias for option -S in Figure.grdview Figure.grdview: Add alias for GMT option -S as smooth_contour Mar 5, 2026
Co-authored-by: seisman <3974108+seisman@users.noreply.github.com>
Copilot AI changed the title Figure.grdview: Add alias for GMT option -S as smooth_contour Figure.grdview: Add alias smooth for GMT option -S Mar 5, 2026
Co-authored-by: seisman <3974108+seisman@users.noreply.github.com>
Copilot AI changed the title Figure.grdview: Add alias smooth for GMT option -S Figure.grdview: Add smooth alias for GMT option -S Mar 5, 2026
Co-authored-by: seisman <3974108+seisman@users.noreply.github.com>
Copilot AI changed the title Figure.grdview: Add smooth alias for GMT option -S grdview: fix smooth docstring and alphabetical ordering in AliasSystem Mar 5, 2026
@seisman seisman changed the title grdview: fix smooth docstring and alphabetical ordering in AliasSystem Figure.grdview: Add alias "smooth" for the -S option Mar 5, 2026
@seisman seisman added this to the 0.19.0 milestone Mar 5, 2026
@seisman seisman added the enhancement Improving an existing feature label Mar 5, 2026
@seisman seisman marked this pull request as ready for review March 5, 2026 12:02
@seisman seisman merged commit ffc6fd2 into main Mar 5, 2026
14 of 15 checks passed
@seisman seisman deleted the copilot/add-alias-for-option-s branch March 5, 2026 12:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement Improving an existing feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants