Skip to content

Commit 3f8c9a8

Browse files
Copilotseisman
andauthored
Final review: fix remaining terminology issues
- doc/api/index.rst: "Plotting figure elements" → "Plotting embellishments" (consistent with gallery and techref usage) - pygmt/src/image.py: "plot it on a plot" → "plots it" (fix awkward phrasing) - pygmt/tests/test_image.py: "Place images on map" → "Place images on the figure" - pygmt/tests/test_subplot.py: "map frame setting" → "plot frame setting", "all subplot figures" → "all subplot panels", "Plot map elements" → "Plot elements" Agent-Logs-Url: https://github.com/GenericMappingTools/pygmt/sessions/ec6d8067-efa4-4bd0-ad87-85456d70041c Co-authored-by: seisman <3974108+seisman@users.noreply.github.com>
1 parent b3ab7b2 commit 3f8c9a8

4 files changed

Lines changed: 7 additions & 7 deletions

File tree

doc/api/index.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ All plotting is handled through the :class:`pygmt.Figure` class and its methods.
1818

1919
Figure
2020

21-
Plotting figure elements
22-
~~~~~~~~~~~~~~~~~~~~~~~~
21+
Plotting embellishments
22+
~~~~~~~~~~~~~~~~~~~~~~~
2323

2424
.. autosummary::
2525
:toctree: generated

pygmt/src/image.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ def image( # noqa: PLR0913
3939
r"""
4040
Plot raster or EPS images.
4141
42-
Reads an Encapsulated PostScript file or a raster image file and plot it on a plot.
42+
Reads an Encapsulated PostScript file or a raster image file and plots it.
4343
The image can be scaled arbitrarily, and 1-bit raster images can be:
4444
4545
- inverted, i.e., black pixels (on) become white (off) and vice versa.

pygmt/tests/test_image.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
@pytest.mark.mpl_image_compare
1212
def test_image():
1313
"""
14-
Place images on map.
14+
Place images on the figure.
1515
"""
1616
fig = Figure()
1717
fig.image(imagefile="@circuit.png")

pygmt/tests/test_subplot.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
@pytest.mark.mpl_image_compare
1313
def test_subplot_basic_frame():
1414
"""
15-
Create a subplot figure with 1 vertical row and 2 horizontal columns, and ensure map
16-
frame setting is applied to all subplot figures.
15+
Create a subplot figure with 1 vertical row and 2 horizontal columns, and ensure plot
16+
frame setting is applied to all subplot panels.
1717
"""
1818
fig = Figure()
1919

@@ -28,7 +28,7 @@ def test_subplot_basic_frame():
2828
@pytest.mark.mpl_image_compare
2929
def test_subplot_direct():
3030
"""
31-
Plot map elements to subplot directly using the panel parameter.
31+
Plot elements to subplot directly using the panel parameter.
3232
"""
3333
fig = Figure()
3434

0 commit comments

Comments
 (0)