Skip to content

Commit 42533ad

Browse files
Figure.plot: Add alias "fill_between" for option -M (#3169)
1 parent b903735 commit 42533ad

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

pygmt/src/plot.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929
I="intensity",
3030
L="close",
3131
N="no_clip",
32+
M="fill_between",
3233
S="style",
3334
W="pen",
3435
Z="zvalue",
@@ -178,6 +179,10 @@ def plot( # noqa: PLR0912, PLR0913
178179
$fill
179180
*fill* can be a 1-D array, but it is only valid if using ``x``/``y``
180181
and ``cmap=True`` is also required.
182+
fill_between : str
183+
[**c**\|\ **s**][**+l**\ *seclabel*][**+g**\ *fill*][**p**\ *pen*]
184+
[**+r**\ *pen*][**+y**\ [*level*]].
185+
Fill the middle area between two curves :math:`y_0(x)` and :math:`y_1(x)`.
181186
intensity : float, bool, or 1-D array
182187
Provide an *intensity* value (nominally in the -1 to +1 range) to
183188
modulate the fill color by simulating illumination. If using

0 commit comments

Comments
 (0)