healpy.projaxes.SphericalProjAxes.fill_between¶
-
SphericalProjAxes.
fill_between
(x, y1, y2=0, where=None, interpolate=False, **kwargs)¶ Make filled polygons between two curves.
Call signature:
fill_between(x, y1, y2=0, where=None, **kwargs)
Create a
PolyCollection
filling the regions between y1 and y2 wherewhere==True
- x :
- An N-length array of the x data
- y1 :
- An N-length array (or scalar) of the y data
- y2 :
- An N-length array (or scalar) of the y data
- where :
- If None, default to fill between everywhere. If not None,
it is an N-length numpy boolean array and the fill will
only happen over the regions where
where==True
. - interpolate :
- If True, interpolate between the two lines to find the precise point of intersection. Otherwise, the start and end points of the filled region will only occur on explicit values in the x array.
- kwargs :
- Keyword args passed on to the
PolyCollection
.
kwargs control the
Polygon
properties:agg_filter: unknown alpha: float or None animated: [True | False] antialiased or antialiaseds: Boolean or sequence of booleans array: unknown axes: anAxes
instance clim: a length 2 sequence of floats clip_box: amatplotlib.transforms.Bbox
instance clip_on: [True | False] clip_path: [ (Path
,Transform
) |Patch
| None ] cmap: a colormap or registered colormap name color: matplotlib color arg or sequence of rgba tuples contains: a callable function edgecolor or edgecolors: matplotlib color arg or sequence of rgba tuples facecolor or facecolors: matplotlib color arg or sequence of rgba tuples figure: amatplotlib.figure.Figure
instance gid: an id string hatch: [ ‘/’ | ‘\’ | ‘|’ | ‘-‘ | ‘+’ | ‘x’ | ‘o’ | ‘O’ | ‘.’ | ‘*’ ] label: string or anything printable with ‘%s’ conversion. linestyle or linestyles or dashes: [‘solid’ | ‘dashed’, ‘dashdot’, ‘dotted’ | (offset, on-off-dash-seq) ] linewidth or lw or linewidths: float or sequence of floats lod: [True | False] norm: unknown offset_position: unknown offsets: float or sequence of floats path_effects: unknown picker: [None|float|boolean|callable] pickradius: unknown rasterized: [True | False | None] sketch_params: unknown snap: unknown transform:Transform
instance url: a url string urls: unknown visible: [True | False] zorder: any numberSee also
fill_betweenx()
- for filling between two sets of x-values