Skip to content

Commit 7a58b57

Browse files
Copilotseisman
andcommitted
Fix terminology in polar.py and src files: "map" → "plot"
- examples/projections/nongeo/polar.py: Changed "Set map limits" to "Set plot limits" and "Set map width" to "Set plot width" (12 instances) - pygmt/src/contour.py: Changed "on a map" to "on a plot" - pygmt/src/image.py: Changed "on a map" to "on a plot" - pygmt/src/text.py: Changed "on the map" to "on the plot" and "of the map" to "of the plot" Co-authored-by: seisman <3974108+seisman@users.noreply.github.com>
1 parent d82c948 commit 7a58b57

4 files changed

Lines changed: 16 additions & 16 deletions

File tree

examples/projections/nongeo/polar.py

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -56,9 +56,9 @@
5656
# ============
5757
# Top left
5858
fig.basemap(
59-
# Set map limits to theta_min = 0, theta_max = 360, radius_min = 0, radius_max = 1
59+
# Set plot limits to theta_min = 0, theta_max = 360, radius_min = 0, radius_max = 1
6060
region=[0, 360, 0, 1],
61-
# Set map width to 5 cm
61+
# Set plot width to 5 cm
6262
projection="P5c",
6363
# Set the frame and title; @^ allows for a line break within the title
6464
frame=["xa45f", "+gbisque+tprojection='P5c' @^ region=[0, 360, 0, 1]"],
@@ -69,9 +69,9 @@
6969
# ============
7070
# Top middle
7171
fig.basemap(
72-
# Set map limits to theta_min = 0, theta_max = 360, radius_min = 0, radius_max = 1
72+
# Set plot limits to theta_min = 0, theta_max = 360, radius_min = 0, radius_max = 1
7373
region=[0, 360, 0, 1],
74-
# Set map width to 5 cm and interpret input data as geographic azimuth instead of
74+
# Set plot width to 5 cm and interpret input data as geographic azimuth instead of
7575
# standard angle
7676
projection="P5c+a",
7777
# Set the frame and title; @^ allows for a line break within the title
@@ -83,9 +83,9 @@
8383
# ============
8484
# Top right
8585
fig.basemap(
86-
# Set map limits to theta_min = 0, theta_max = 90, radius_min = 0, radius_max = 1
86+
# Set plot limits to theta_min = 0, theta_max = 90, radius_min = 0, radius_max = 1
8787
region=[0, 90, 0, 1],
88-
# Set map width to 5 cm and interpret input data as geographic azimuth instead of
88+
# Set plot width to 5 cm and interpret input data as geographic azimuth instead of
8989
# standard angle
9090
projection="P5c+a",
9191
# Set the frame and title; @^ allows for a line break within the title
@@ -97,9 +97,9 @@
9797
# ============
9898
# Bottom left
9999
fig.basemap(
100-
# Set map limits to theta_min = 0, theta_max = 90, radius_min = 0, radius_max = 1
100+
# Set plot limits to theta_min = 0, theta_max = 90, radius_min = 0, radius_max = 1
101101
region=[0, 90, 0, 1],
102-
# Set map width to 5 cm and interpret input data as geographic azimuth instead of
102+
# Set plot width to 5 cm and interpret input data as geographic azimuth instead of
103103
# standard angle, rotate coordinate system counterclockwise by 45 degrees
104104
projection="P5c+a+t45",
105105
# Set the frame and title; @^ allows for a line break within the title
@@ -115,10 +115,10 @@
115115
# ============
116116
# Bottom middle
117117
fig.basemap(
118-
# Set map limits to theta_min = 0, theta_max = 90, radius_min = 3480,
118+
# Set plot limits to theta_min = 0, theta_max = 90, radius_min = 3480,
119119
# radius_max = 6371 (Earth's radius)
120120
region=[0, 90, 3480, 6371],
121-
# Set map width to 5 cm and interpret input data as geographic azimuth instead of
121+
# Set plot width to 5 cm and interpret input data as geographic azimuth instead of
122122
# standard angle, rotate coordinate system counterclockwise by 45 degrees
123123
projection="P5c+a+t45",
124124
# Set the frame, and title; @^ allows for a line break within the title
@@ -134,10 +134,10 @@
134134
# ============
135135
# Bottom right
136136
fig.basemap(
137-
# Set map limits to theta_min = 0, theta_max = 90, radius_min = 3480,
137+
# Set plot limits to theta_min = 0, theta_max = 90, radius_min = 3480,
138138
# radius_max = 6371 (Earth's radius)
139139
region=[0, 90, 3480, 6371],
140-
# Set map width to 5 cm and interpret input data as geographic azimuth instead of
140+
# Set plot width to 5 cm and interpret input data as geographic azimuth instead of
141141
# standard angle, rotate coordinate system counterclockwise by 45 degrees, r-axis
142142
# is marked as depth
143143
projection="P5c+a+t45+z",

pygmt/src/contour.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ def contour( # noqa: PLR0913
5353
Contour table data by direct triangulation.
5454
5555
Takes a matrix, (x, y, z) triplets, or a file name as input and plots,
56-
lines, polygons, or symbols at those locations on a map.
56+
lines, polygons, or symbols at those locations on a plot.
5757
5858
Must provide either ``data`` or ``x``, ``y``, and ``z``.
5959

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 map.
42+
Reads an Encapsulated PostScript file or a raster image file and plot it on a plot.
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/src/text.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,12 +105,12 @@ def text_( # noqa: PLR0912, PLR0913
105105
The x and y coordinates, or an array of x and y coordinates to plot
106106
the text.
107107
position
108-
Set reference point on the map for the text by using x, y
108+
Set reference point on the plot for the text by using x, y
109109
coordinates extracted from ``region`` instead of providing them
110110
through ``x``/``y``. Specify with a
111111
:doc:`2-character justification code </techref/justification_codes>`.
112112
For example, ``position="TL"`` plots the text at the Top Left corner
113-
of the map.
113+
of the plot.
114114
text
115115
The text string, or an array of strings to plot on the figure.
116116
angle: float, str, bool or list

0 commit comments

Comments
 (0)