Skip to content

Commit

Permalink
Fix typos in docstrings of "pygmt.Figure.histogram" (#2457)
Browse files Browse the repository at this point in the history
  • Loading branch information
yvonnefroehlich committed Mar 26, 2023
1 parent d99856d commit 9af83e5
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions pygmt/src/histogram.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,16 +61,16 @@ def histogram(self, data, **kwargs):
{panel}
annotate : bool or str
[**+b**][**+f**\ *font*][**+o**\ *off*][**+r**].
Annotate each bar with the count it represents. Append any of the
Annotate each bar with the count it represents. Append any of the
following modifiers: Use **+b** to place the labels beneath the bars
instead of above; use **+f** to change to another font than the default
annotation font; use **+o** to change the offset between bar and
label [6p]; use **+r** to rotate the labels from horizontal to
vertical.
label [Default is ``"6p"``]; use **+r** to rotate the labels from
horizontal to vertical.
barwidth : int or float or str
*width*\ [**+o**\ *offset*].
Use an alternative histogram bar width than the default set via
``series``, and optionally shift all bars by an *offset*. Here
``series``, and optionally shift all bars by an *offset*. Here
*width* is either an alternative width in data units, or the user may
append a valid plot dimension unit (**c**\|\ **i**\|\ **p**) for a
fixed dimension instead. Optionally, all bins may be shifted along the
Expand All @@ -81,7 +81,7 @@ def histogram(self, data, **kwargs):
distribution : bool or int or float or str
[*mode*][**+p**\ *pen*].
Draw the equivalent normal distribution; append desired
*pen* [Default is 0.25p,black].
*pen* [Default is ``"0.25p,black,solid"``].
The *mode* selects which central location and scale to use:
* 0 = mean and standard deviation [Default];
Expand All @@ -94,7 +94,7 @@ def histogram(self, data, **kwargs):
extreme : str
**l**\|\ **h**\|\ **b**.
The modifiers specify the handling of extreme values that fall outside
the range set by ``series``. By default these values are ignored.
the range set by ``series``. By default, these values are ignored.
Append **b** to let these values be included in the first or last
bins. To only include extreme values below first bin into the first
bin, use **l**, and to only include extreme values above the last bin
Expand Down

0 comments on commit 9af83e5

Please sign in to comment.