diff --git a/examples/gallery/embellishments/solar.py b/examples/gallery/embellishments/solar.py index 5b1bdcbc23c..44e4fb9c244 100644 --- a/examples/gallery/embellishments/solar.py +++ b/examples/gallery/embellishments/solar.py @@ -16,7 +16,7 @@ # Create a figure showing the global region on a Mollweide projection # Land color is set to dark green and water color is set to light blue fig.coast(region="d", projection="W0/15c", land="darkgreen", water="lightblue") -# Set a time for the day-night terminator and twilights, 1700 UTC on +# Set a time for the day-night terminator and twilights, 17:00 UTC on # January 1, 2000 terminator_datetime = datetime.datetime( year=2000, month=1, day=1, hour=17, minute=0, second=0 diff --git a/examples/gallery/lines/great_circles.py b/examples/gallery/lines/great_circles.py index f3c30b787d3..986337da5b3 100644 --- a/examples/gallery/lines/great_circles.py +++ b/examples/gallery/lines/great_circles.py @@ -35,9 +35,9 @@ # plot individual points as orange inverted triangles atop fig.plot(x=points2.r, y=points2.s, style="i.6c", color="orange", pen="1p") -# plot individual points of third great circle as red line +# plot individual points of third great circle as red3 line fig.plot(x=points3.r, y=points3.s, pen="2p,red3") -# plot individual points as red circles atop +# plot individual points as red3 circles atop fig.plot(x=points3.r, y=points3.s, style="c.3c", color="red3", pen="1p") fig.show() diff --git a/examples/get-started/first_figure.py b/examples/get-started/first_figure.py index 2f868cc7c6f..7345753dce6 100644 --- a/examples/get-started/first_figure.py +++ b/examples/get-started/first_figure.py @@ -146,9 +146,8 @@ # title to "Title" would be ``"+tTitle"``). # # To pass multiple arguments to ``frame``, a list can be used, as shown in the -# example below. This format uses ``frame`` to set both the axes gridlines and -# the figure title. -# +# example below. This format uses ``frame`` to set both the axes annotations +# and the figure title. fig = pygmt.Figure() fig.coast( diff --git a/examples/tutorials/advanced/configuration.py b/examples/tutorials/advanced/configuration.py index 703aa6dee98..077e41505a5 100644 --- a/examples/tutorials/advanced/configuration.py +++ b/examples/tutorials/advanced/configuration.py @@ -31,7 +31,7 @@ # ---------------------------- # # The ``MAP_FRAME_TYPE`` parameter specifies the style of map frame to use, of -# which there are 5 options: ``fancy`` (default, seen above), ``fancy+``, +# which there are 5 options: ``fancy`` (default, see above), ``fancy+``, # ``plain``, ``graph`` (which does not apply to geographical maps) and # ``inside``. # diff --git a/examples/tutorials/advanced/contour_map.py b/examples/tutorials/advanced/contour_map.py index 80cbb0c7c08..d60793b21ca 100644 --- a/examples/tutorials/advanced/contour_map.py +++ b/examples/tutorials/advanced/contour_map.py @@ -19,7 +19,7 @@ # It plots annotated contour lines, which are thicker and have the # elevation/depth written on them, and unannotated contour lines. # In the example below, the default contour line intervals are 500 meters, -# with an annotated contour line every 1000 meters. +# with an annotated contour line every 1,000 meters. # By default, it plots the map with the # equidistant cylindrical projection and with no frame. diff --git a/examples/tutorials/advanced/date_time_charts.py b/examples/tutorials/advanced/date_time_charts.py index fbb26e90442..311f707fbfd 100644 --- a/examples/tutorials/advanced/date_time_charts.py +++ b/examples/tutorials/advanced/date_time_charts.py @@ -107,14 +107,14 @@ # by a string formatted as ``hh:mm:ss`` where each ``:`` delineated section # marking the two digit hour value, two digit minute value, and two digit # second value respectively. The figure in the following example is plotted -# over a horizontal range of one year from 1/1/2016 to 1/1/2017. +# over a horizontal range of one year from 2016-01-01 to 2017-01-01. x = ["2016-02-01", "2016-06-04T14", "2016-10-04T00:00:15", "2016-12-01T05:00:15"] y = [1, 3, 5, 2] fig = pygmt.Figure() fig.plot( projection="X10c/5c", - region=["2016-01-01", "2017-01-1", 0, 6], + region=["2016-01-01", "2017-01-01", 0, 6], frame=["WSen", "afg"], x=x, y=y, diff --git a/examples/tutorials/advanced/grid_equalization.py b/examples/tutorials/advanced/grid_equalization.py index 678b3adb507..62eab111d81 100644 --- a/examples/tutorials/advanced/grid_equalization.py +++ b/examples/tutorials/advanced/grid_equalization.py @@ -13,7 +13,7 @@ # ---------------- # Load the sample Earth relief data for a region around Yosemite valley # and use :meth:`pygmt.grd2xyz` to create a :class:`pandas.Series` with the -# z values. +# z-values. grid = pygmt.datasets.load_earth_relief( resolution="03s", region=[-119.825, -119.4, 37.6, 37.825] diff --git a/examples/tutorials/advanced/insets.py b/examples/tutorials/advanced/insets.py index dbc9cf40723..974805d0250 100644 --- a/examples/tutorials/advanced/insets.py +++ b/examples/tutorials/advanced/insets.py @@ -37,8 +37,8 @@ # of the inset is set to one of the 9 anchors (bottom-middle-top and # left-center-right). In the example below, ``BL`` sets the inset to the bottom # left. The ``box`` parameter can set the fill and border of the inset. In the -# example below, ``+pblack`` sets the border color to black and ``+gred`` sets -# the fill to red. +# example below, ``+pblack`` sets the border color to black and ``+glightred`` +# sets the fill to light red. fig = pygmt.Figure() fig.coast( diff --git a/examples/tutorials/advanced/vectors.py b/examples/tutorials/advanced/vectors.py index 8c4441c0cde..69ae6c92635 100644 --- a/examples/tutorials/advanced/vectors.py +++ b/examples/tutorials/advanced/vectors.py @@ -156,7 +156,7 @@ fig.show() ############################################################################### -# In this example, cartesian vectors are plotted over a Mercator +# In this example, Cartesian vectors are plotted over a Mercator # projection of the continental US. The x values represent the # longitude and y values represent the latitude where the vector starts. # @@ -209,7 +209,7 @@ fig.show() ############################################################################### -# Another example of plotting cartesian vectors over a coast plot. This time a +# Another example of plotting Cartesian vectors over a coast plot. This time a # Transverse Mercator projection is used. Additionally, :func:`numpy.linspace` # is used to create 5 vectors with equal stops.