From a80b079d5926be4a9de266e88b0ac680d8b0e037 Mon Sep 17 00:00:00 2001 From: David Stansby Date: Thu, 26 Oct 2017 13:51:51 +0100 Subject: [PATCH] Add returns documentation to fill_between methods --- lib/matplotlib/axes/_axes.py | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/lib/matplotlib/axes/_axes.py b/lib/matplotlib/axes/_axes.py index e4b2dfbd934d..37d385ef8e19 100644 --- a/lib/matplotlib/axes/_axes.py +++ b/lib/matplotlib/axes/_axes.py @@ -4793,6 +4793,10 @@ def fill_between(self, x, y1, y2=0, where=None, interpolate=False, step : {'pre', 'post', 'mid'}, optional If not None, fill with step logic. + Returns + ------- + `PolyCollection` + Plotted polygon collection Notes ----- @@ -4948,6 +4952,12 @@ def fill_betweenx(self, y, x1, x2=0, where=None, end points of the filled region will only occur on explicit values in the *x* array. + + Returns + ------- + `PolyCollection` + Plotted polygon collection + Notes -----