Skip to content

Commit e53ee2a

Browse files
dstansbyNelleV
authored andcommitted
Add returns documentation to fill_between methods (#9584)
1 parent 6aeeec7 commit e53ee2a

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

lib/matplotlib/axes/_axes.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4793,6 +4793,10 @@ def fill_between(self, x, y1, y2=0, where=None, interpolate=False,
47934793
step : {'pre', 'post', 'mid'}, optional
47944794
If not None, fill with step logic.
47954795
4796+
Returns
4797+
-------
4798+
`PolyCollection`
4799+
Plotted polygon collection
47964800
47974801
Notes
47984802
-----
@@ -4948,6 +4952,12 @@ def fill_betweenx(self, y, x1, x2=0, where=None,
49484952
end points of the filled region will only occur on explicit
49494953
values in the *x* array.
49504954
4955+
4956+
Returns
4957+
-------
4958+
`PolyCollection`
4959+
Plotted polygon collection
4960+
49514961
Notes
49524962
-----
49534963

0 commit comments

Comments
 (0)