Skip to content

Commit

Permalink
Figure.histogram and Figure.ternary: Fix incorrect docstrings 'color'…
Browse files Browse the repository at this point in the history
… to 'fill' (#2124)
  • Loading branch information
seisman authored Sep 22, 2022
1 parent 0d03798 commit d5e3745
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions pygmt/helpers/decorators.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,10 @@
color : str or 1d array
Select color or pattern for filling of symbols or polygons. Default
is no fill.""",
"fill": """\
fill : str
Select color or pattern for filling of symbols or polygons. Default
is no fill.""",
"spacing": r"""
spacing : str
*x_inc*\ [**+e**\|\ **n**][/\ *y_inc*\ [**+e**\|\ **n**]].
Expand Down
2 changes: 1 addition & 1 deletion pygmt/src/histogram.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ def histogram(self, data, **kwargs):
{region}
{frame}
{cmap}
{color}
{fill}
{pen}
{panel}
annotate : bool or str
Expand Down
2 changes: 1 addition & 1 deletion pygmt/src/ternary.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ def ternary(self, data, **kwargs):
Give the min and max limits for each of the three axes **a**, **b**,
and **c**.
{cmap}
{color}
{fill}
style : str
*symbol*\[\ *size*].
Plot individual symbols in a ternary diagram.
Expand Down

0 comments on commit d5e3745

Please sign in to comment.