Skip to content

Commit d33e5ac

Browse files
authored
DOC: Make usage of "lowercase" and "uppercase" consistent across all docs (#3756)
1 parent c7198e6 commit d33e5ac

File tree

17 files changed

+25
-24
lines changed

17 files changed

+25
-24
lines changed

doc/techref/patterns.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ image raster file. The former will result in one of the 90 predefined 64x64 bit-
1111
provided by GMT (see the figure below). The latter allows the user to create customized,
1212
repeating images using image raster files.
1313

14-
By specifying upper case **P** instead of **p** the image will be bit-reversed, i.e.,
14+
By specifying uppercase **P** instead of **p** the image will be bit-reversed, i.e.,
1515
white and black areas will be interchanged (only applies to 1-bit images or predefined
1616
bit-image patterns). For these patterns and other 1-bit images one may specify
1717
alternative **b**ackground and **f**oreground colors (by appending **+b**_color_ and/or

examples/gallery/basemaps/double_y_axes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
The ``frame`` parameter of the plotting methods of the :class:`pygmt.Figure`
66
class can control which axes should be plotted and optionally show annotations,
77
tick marks, and gridlines. By default, all 4 axes are plotted, along with
8-
annotations and tick marks (denoted **W**, **S**, **E**, **N**). Lower case
8+
annotations and tick marks (denoted **W**, **S**, **E**, **N**). Lowercase
99
versions (**w**, **s**, **e**, **n**) can be used to denote to only plot the
1010
axes with tick marks. We can also only plot the axes without annotations and
1111
tick marks using **l** (left axis), **r** (right axis), **t** (top axis),

examples/gallery/embellishments/scalebar.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,9 @@
1212
- **g**: Give map coordinates as *longitude*\/\ *latitude*.
1313
- **j**\|\ **J**: Specify a two-character (order independent) code.
1414
Choose from vertical **T**\(op), **M**\(iddle), or **B**\(ottom) and
15-
horizontal **L**\(eft), **C**\(entre), or **R**\(ight). Lower / upper
16-
case **j** / **J** mean inside / outside of the map bounding box.
15+
horizontal **L**\(eft), **C**\(entre), or **R**\(ight). Lower /
16+
uppercase **j** / **J** mean inside / outside of the map bounding
17+
box.
1718
- **n**: Give normalized bounding box coordinates as *nx*\/\ *ny*.
1819
- **x**: Give plot coordinates as *x*\/\ *y*.
1920

examples/gallery/images/cross_section.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737

3838
# Add a colorbar for the elevation
3939
fig.colorbar(
40-
# Place the colorbar inside the plot (lower-case "j") in the Bottom Right (BR)
40+
# Place the colorbar inside the plot (lowercase "j") in the Bottom Right (BR)
4141
# corner with an offset ("+o") of 0.7 centimeters and 0.3 centimeters in x or y
4242
# directions, respectively; move the x label above the horizontal colorbar ("+ml")
4343
position="jBR+o0.7c/0.8c+h+w5c/0.3c+ml",

examples/gallery/lines/decorated_lines.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
"~d1c:+sd0.5c+gtan+p1p,black+n-0.2c/0.1c",
5252
# Give the number of equally spaced symbols by using "n" instead of "d"
5353
"~n6:+sn0.5c+gtan+p1p,black",
54-
# Use upper-case "N" to have symbols at the start and end of the line
54+
# Use uppercase "N" to have symbols at the start and end of the line
5555
"~N6:+sh0.5c+gtan+p1p,black",
5656
# Suppress the main decorated line by appending "+i"
5757
"~d1c:+sg0.5c+gtan+p1p,black+i",

examples/gallery/lines/quoted_lines.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
"qd1c:+ltext+i",
3434
# Give the number of equally spaced labels by using "n" instead of "d"
3535
"qn5:+ltext",
36-
# Use upper-case "N" to have labels at the start and end of the line
36+
# Use uppercase "N" to have labels at the start and end of the line
3737
"qN5:+ltext",
3838
# To only plot a label at the start of the line use "N-1"
3939
"qN-1:+ltext",

examples/gallery/symbols/multi_parameter_symbols.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
# directions given in degrees counter-clockwise from horizontal. Append **+i** and the
3434
# desired value to apply an inner diameter.
3535
#
36-
# Upper-case versions **E**, **J**, and **W** are similar to **e**, **j**, and **w**
36+
# Uppercase versions **E**, **J**, and **W** are similar to **e**, **j**, and **w**
3737
# but expect geographic azimuths and distances.
3838

3939
fig = pygmt.Figure()

examples/projections/cyl/cyl_oblique_mercator.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
1010
The projection is set with **o** or **O**. There are three different specification
1111
ways (**a**\|\ **A**, **b**\|\ **B**, **c**\|\ **C**) available. For all three
12-
definitions, the upper case letter mean the projection pole is set in the southern
12+
definitions, the uppercase letter mean the projection pole is set in the southern
1313
hemisphere [Default is northern hemisphere]. Align the y-axis with the optional
1414
modifier **+v**. The figure size is set with *scale* or *width*.
1515
"""

examples/projections/nongeo/cartesian_linear.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
55
**X**\ *width*\ [/*height*] or **x**\ *x-scale*\ [/*y-scale*]
66
7-
Give the *width* of the figure and the optional *height*. The lower-case version
7+
Give the *width* of the figure and the optional *height*. The lowercase version
88
**x** is similar to **X** but expects an *x-scale* and an optional *y-scale*.
99
1010
The Cartesian linear projection is primarily designed for regular floating point

examples/projections/nongeo/cartesian_logarithmic.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
**x**\ *x-scale*\ [**l**][/*y-scale*\ [**l**]]
77
88
Give the *width* of the figure and the optional *height*.
9-
The lower-case version **x** is similar to **X** but expects
9+
The lowercase version **x** is similar to **X** but expects
1010
an *x-scale* and an optional *y-scale*.
1111
Each axis with a logarithmic transformation requires **l** after
1212
its size argument.

0 commit comments

Comments
 (0)