Skip to content

Commit

Permalink
Fixes some typos (#1363)
Browse files Browse the repository at this point in the history
  • Loading branch information
soham4abc authored Jun 27, 2021
1 parent 8a9f622 commit efbfbf6
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion doc/maintenance.md
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ adjusted upward on every major and minor release, but never on a patch release.

## Backwards compatibility and deprecation policy

PyGMT is still undergoing rapid developement. All of the API is subject to change
PyGMT is still undergoing rapid development. All of the API is subject to change
until the v1.0.0 release.

Basic policy for backwards compatibility:
Expand Down
2 changes: 1 addition & 1 deletion examples/gallery/embellishments/solar.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
---------------------------------------
Use :meth:`pygmt.Figure.solar` to show the different transition stages between daytime
and nightime. The parameter ``terminator`` is used to set the twilight stage, and can be
and nighttime. The parameter ``terminator`` is used to set the twilight stage, and can be
either 'day-night' (brightest), 'civil', 'nautical', or 'astronomical' (darkest). Refer
to https://en.wikipedia.org/wiki/Twilight for more information.
"""
Expand Down
4 changes: 2 additions & 2 deletions examples/tutorials/date_time_charts.py
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@
# data to the PyGMT figure.
# Specifically ``x`` contains 7 different :class:`pandas.DatetimeIndex` objects, with the
# number being manipulated by the ``periods`` parameter. Each period begins at the start
# of a business quarter as denoted by BQS when passed to the ``periods`` parameter. The inital
# of a business quarter as denoted by BQS when passed to the ``periods`` parameter. The initial
# date is the first argument that is passed to :func:`pandas.date_range` and it marks the first
# data point in the list ``x`` that will be plotted.

Expand Down Expand Up @@ -207,7 +207,7 @@
# -------------------------------
# In this example, instead of using a :func:`pd.date_range`, ``x`` is initialized
# as an ``np.array`` object. Similar to :class:`xarray.DataArray` this wraps the
# dataset before passing it as a paramater. However, ``np.array`` objects use less
# dataset before passing it as a parameter. However, ``np.array`` objects use less
# memory and allow developers to specify datatypes.

x = np.array(["2010-06-01", "2011-06-01T12", "2012-01-01T12:34:56"], dtype="datetime64")
Expand Down
2 changes: 1 addition & 1 deletion examples/tutorials/vectors.py
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,7 @@
# start and end points of the geographic vector.
# The geographical vector is going from Idaho to
# Chicago. To style geographic
# vectors, use ``=`` at the begining of the ``style`` parameter.
# vectors, use ``=`` at the beginning of the ``style`` parameter.
# Other styling features such as vector stem thickness and head color
# can be passed into the ``pen`` and ``color`` parameters.
#
Expand Down
2 changes: 1 addition & 1 deletion pygmt/src/histogram.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ def histogram(self, table, **kwargs):
Draws a stairs-step diagram which does not include the internal bars
of the default histogram.
horizontal : bool
Plot the histogram using horizonal bars instead of the
Plot the histogram using horizontal bars instead of the
default vertical bars.
series : int or str or list
[*min*\ /*max*\ /]\ *inc*\ [**+n**\ ].
Expand Down

0 comments on commit efbfbf6

Please sign in to comment.