 
    
  
      
    Axes.fill_between(x, y1, y2=0, where=None, interpolate=False, step=None, **kwargs)¶Make filled polygons between two curves.
Create a PolyCollection
filling the regions between y1 and y2 where
where==True
| Parameters: | x : array 
 y1 : array 
 y2 : array 
 where : array, optional 
 interpolate : bool, optional 
 step : {‘pre’, ‘post’, ‘mid’}, optional 
 | 
|---|
See also
Notes
Additional Keyword args passed on to the
PolyCollection.
kwargs control the Polygon properties:
Property Description agg_filterunknown alphafloat or None animated[True | False] antialiasedor antialiasedsBoolean or sequence of booleans arrayunknown axesan Axesinstanceclima length 2 sequence of floats clip_boxa matplotlib.transforms.Bboxinstanceclip_on[True | False] clip_path[ ( Path,Transform) |Patch| None ]cmapa colormap or registered colormap name colormatplotlib color arg or sequence of rgba tuples containsa callable function edgecoloror edgecolorsmatplotlib color spec or sequence of specs facecoloror facecolorsmatplotlib color spec or sequence of specs figurea matplotlib.figure.Figureinstancegidan id string hatch[ ‘/’ | ‘\’ | ‘|’ | ‘-‘ | ‘+’ | ‘x’ | ‘o’ | ‘O’ | ‘.’ | ‘*’ ] labelstring or anything printable with ‘%s’ conversion. linestyleor dashes or linestyles[‘solid’ | ‘dashed’, ‘dashdot’, ‘dotted’ | (offset, on-off-dash-seq) | '-'|'--'|'-.'|':'|'None'|' '|'']linewidthor linewidths or lwfloat or sequence of floats normunknown offset_positionunknown offsetsfloat or sequence of floats path_effectsunknown picker[None|float|boolean|callable] pickradiusunknown rasterized[True | False | None] sketch_paramsunknown snapunknown transformTransforminstanceurla url string urlsunknown visible[True | False] zorderany number 
Examples