@@ -4440,37 +4440,46 @@ def fill_between(self, x, y1, y2=0, where=None, interpolate=False,
4440
4440
filling the regions between *y1* and *y2* where
4441
4441
``where==True``
4442
4442
4443
- *x* :
4443
+ Parameters
4444
+ ----------
4445
+ x : array
4444
4446
An N-length array of the x data
4445
4447
4446
- *y1* :
4448
+ y1 : array
4447
4449
An N-length array (or scalar) of the y data
4448
4450
4449
- *y2* :
4451
+ y2 : array
4450
4452
An N-length array (or scalar) of the y data
4451
4453
4452
- * where* :
4453
- If * None* , default to fill between everywhere. If not * None* ,
4454
+ where : array, optional
4455
+ If ` None` , default to fill between everywhere. If not ` None` ,
4454
4456
it is an N-length numpy boolean array and the fill will
4455
4457
only happen over the regions where ``where==True``.
4456
4458
4457
- * interpolate* :
4458
- If * True* , interpolate between the two lines to find the
4459
+ interpolate : bool, optional
4460
+ If ` True` , interpolate between the two lines to find the
4459
4461
precise point of intersection. Otherwise, the start and
4460
4462
end points of the filled region will only occur on explicit
4461
4463
values in the *x* array.
4462
4464
4463
- *kwargs* :
4464
- Keyword args passed on to the
4465
- :class:`~matplotlib.collections.PolyCollection`.
4465
+
4466
+ Note
4467
+ ----
4468
+
4469
+ Additional Keyword args passed on to the
4470
+ :class:`~matplotlib.collections.PolyCollection`.
4466
4471
4467
4472
kwargs control the :class:`~matplotlib.patches.Polygon` properties:
4468
4473
4469
4474
%(PolyCollection)s
4470
4475
4476
+ Examples
4477
+ --------
4478
+
4471
4479
.. plot:: mpl_examples/pylab_examples/fill_between_demo.py
4472
4480
4473
- .. seealso::
4481
+ See Also
4482
+ --------
4474
4483
4475
4484
:meth:`fill_betweenx`
4476
4485
for filling between two sets of x-values
0 commit comments