Skip to content

Commit 9c6a0f6

Browse files
author
Meghan Jones
authored
Remove trailing whitespaces from examples (#1195)
1 parent a4eec49 commit 9c6a0f6

File tree

5 files changed

+9
-9
lines changed

5 files changed

+9
-9
lines changed

examples/gallery/embellishments/logo.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
Logo
33
----
44
5-
The :meth:`pygmt.Figure.logo` method allows to place the GMT logo on a map.
5+
The :meth:`pygmt.Figure.logo` method allows to place the GMT logo on a map.
66
"""
77

88
import pygmt

examples/gallery/maps/borders.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
* **3** = Marine boundaries
1212
* **a** = All boundaries (1-3)
1313
14-
For example, to draw national boundaries with a line thickness of 1p and black line
15-
color use ``borders="1/1p,black"``. You can draw multiple boundaries by passing in
14+
For example, to draw national boundaries with a line thickness of 1p and black line
15+
color use ``borders="1/1p,black"``. You can draw multiple boundaries by passing in
1616
a list to ``borders``.
1717
"""
1818
import pygmt

examples/gallery/maps/land_and_water.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
Color land and water
33
--------------------
44
5-
The ``land`` and ``water`` parameters of :meth:`pygmt.Figure.coast` specify
5+
The ``land`` and ``water`` parameters of :meth:`pygmt.Figure.coast` specify
66
a color to fill in the land and water masses, respectively. There are many
77
:gmt-docs:`color codes in GMT <gmtcolors.html>`, including standard GMT color
88
names (like ``skyblue``), R/G/B levels (like ``0/0/255``), a hex value (like

examples/gallery/symbols/datetime_inputs.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,14 @@
88
- :class:`pandas.DatetimeIndex`
99
- :class:`xarray.DataArray`: datetimes included in a *xarray.DataArray*
1010
- raw datetime strings in `ISO format <https://en.wikipedia.org/wiki/ISO_8601>`__
11-
(e.g. ``"YYYY-MM-DD"``, ``"YYYY-MM-DDTHH"``, and ``"YYYY-MM-DDTHH:MM:SS"``)
11+
(e.g. ``"YYYY-MM-DD"``, ``"YYYY-MM-DDTHH"``, and ``"YYYY-MM-DDTHH:MM:SS"``)
1212
- Python built-in :class:`datetime.datetime` and :class:`datetime.date`
1313
14-
We can pass datetime inputs based on one of the types listed above directly to
14+
We can pass datetime inputs based on one of the types listed above directly to
1515
the ``x`` and ``y`` parameters of e.g. the :meth:`pygmt.Figure.plot` method.
1616
17-
The ``region`` parameter has to include the :math:`x` and :math:`y` axis limits
18-
in the form [*date_min*, *date_max*, *ymin*, *ymax*]. Here *date_min* and
17+
The ``region`` parameter has to include the :math:`x` and :math:`y` axis limits
18+
in the form [*date_min*, *date_max*, *ymin*, *ymax*]. Here *date_min* and
1919
*date_max* can be directly defined as datetime input.
2020
2121
"""

examples/projections/nongeo/polar.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
=====
44
55
Polar projections allow plotting polar coordinate data (e.g. angle
6-
:math:`\theta` and radius *r*).
6+
:math:`\theta` and radius *r*).
77
88
The full syntax for polar projections is:
99

0 commit comments

Comments
 (0)