Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Figure.histogram and Figure.ternary: Fix incorrect docstrings 'color' to 'fill' #2124

Merged
merged 3 commits into from
Sep 22, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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