Skip to content

Standardize figure/map/plot terminology in codes and docs [Part 2] - #4847

Merged
seisman merged 3 commits into
mainfrom
doc/figure-plot
Aug 23, 2026
Merged

Standardize figure/map/plot terminology in codes and docs [Part 2]#4847
seisman merged 3 commits into
mainfrom
doc/figure-plot

Conversation

@seisman

@seisman seisman commented Aug 22, 2026

Copy link
Copy Markdown
Member

Done by Claude and manually reviewed by @seisman.

There may still be inconsistencies in the codes/docs, but I guess we can close #2437.

@seisman seisman added maintenance Boring but important stuff for the core devs skip-changelog Skip adding Pull Request to changelog final review call This PR requires final review and approval from a second reviewer labels Aug 22, 2026
@seisman seisman added this to the 0.20.0 milestone Aug 22, 2026
@seisman
seisman requested a lite review from Copilot August 22, 2026 12:44

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Standardizes figure, map, and plot terminology across PyGMT documentation, examples, and API docstrings.

Changes:

  • Clarifies map and plot dimensions, frames, regions, and origin shifts.
  • Updates terminology in tutorials, projections, and gallery examples.
  • Revises technical documentation wording.

Reviewed changes

Copilot reviewed 17 out of 17 changed files in this pull request and generated 1 comment.

Show a summary per file
File Summary
pygmt/src/text.py Clarifies text plotting terminology.
pygmt/src/ternary.py Uses plot terminology for ternary diagrams.
pygmt/src/grdcontour.py Clarifies plot width.
examples/tutorials/basics/regions.py Uses map terminology.
examples/tutorials/advanced/subplots.py Clarifies subplot frames.
examples/tutorials/advanced/earth_relief.py Uses map terminology.
examples/tutorials/advanced/configuration.py Clarifies previous plot usage.
examples/tutorials/advanced/cartesian_histograms.py Clarifies plot origin shifts.
examples/projections/nongeo/cartesian_power.py Uses plot terminology.
examples/projections/nongeo/cartesian_logarithmic.py Uses plot terminology.
examples/projections/cyl/cyl_oblique_mercator.py Uses map terminology.
examples/intro/01_first_figure.py Clarifies map terminology.
examples/gallery/lines/envelope.py Clarifies plot origin shifts.
examples/gallery/images/image.py Updates gallery terminology.
examples/gallery/images/cross_section.py Clarifies plot frame terminology.
examples/gallery/embellishments/gmt_logo.py Updates gallery terminology.
doc/techref/justification_codes.md Updates embellishment placement terminology. Nit (3 votes): use plot consistently for the reference point instead of mixing in figure.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread doc/techref/justification_codes.md
Comment thread examples/tutorials/basics/regions.py Outdated
Comment thread examples/projections/nongeo/cartesian_power.py Outdated
Comment thread examples/projections/nongeo/cartesian_logarithmic.py Outdated
Co-authored-by: Yvonne Fröhlich <94163266+yvonnefroehlich@users.noreply.github.com>
Comment on lines 7 to 11
To place plot embellishments, such as scalebars, directional roses, colorbars, legends,
text, or images on a figure, two points have to be specified: a point somewhere on the
text, or images on a plot, two points have to be specified: a point somewhere on the
figure (**reference point**) and a point on the feature (**anchor point**). For both,
users can use a two-character code, a combination of a vertical code and a horizontal
code (order-independent):

@yvonnefroehlich yvonnefroehlich Aug 23, 2026

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Not sure here, but besides this the PR should be fine. Maybe change "figure" in line 9 also to plot?

@seisman
seisman merged commit 4d547f4 into main Aug 23, 2026
22 of 23 checks passed
@seisman
seisman deleted the doc/figure-plot branch August 23, 2026 11:45
@seisman seisman removed the final review call This PR requires final review and approval from a second reviewer label Aug 23, 2026
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.

More careful usage of "figure" vs. "map" / "plot"?

3 participants