Skip to content
Merged
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
5 changes: 5 additions & 0 deletions pygmt/src/plot.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
I="intensity",
L="close",
N="no_clip",
M="fill_between",
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am sorry, but it should be between_fill to be consistent with the renaming and the other parameter names.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actually, I think it should be fill_between, which is more consistent with matplotlib's fill_between method (https://matplotlib.org/stable/api/_as_gen/matplotlib.pyplot.fill_between.html)

Copy link
Copy Markdown
Member Author

@yvonnefroehlich yvonnefroehlich Apr 10, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmm. For Figure.wiggle, we have positive_fill and negative_fill.

What do the others think here @GenericMappingTools/pygmt-maintainers?

S="style",
W="pen",
Z="zvalue",
Expand Down Expand Up @@ -178,6 +179,10 @@ def plot( # noqa: PLR0912, PLR0913
$fill
*fill* can be a 1-D array, but it is only valid if using ``x``/``y``
and ``cmap=True`` is also required.
fill_between : str
[**c**\|\ **s**][**+l**\ *seclabel*][**+g**\ *fill*][**p**\ *pen*]
[**+r**\ *pen*][**+y**\ [*level*]].
Fill the middle area between two curves :math:`y_0(x)` and :math:`y_1(x)`.
intensity : float, bool, or 1-D array
Provide an *intensity* value (nominally in the -1 to +1 range) to
modulate the fill color by simulating illumination. If using
Expand Down
Loading