Barak 0.3.2 documentation

barak.plot.axvfill

«  barak.plot.arrplot   ::   Contents   ::   barak.plot.axvlines  »

barak.plot.axvfill

barak.plot.axvfill(xvals, ax=None, color='k', alpha=0.1, edgecolor='none', **kwargs)[source]

Fill vertical regions defined by a sequence of (left, right) positions.

Parameters :

xvals: list :

Sequence of pairs specifying the left and right extent of each region. e.g. (3,4) or [(0,1), (3,4)]

ax : matplotlib axes instance (default is the current axes)

The axes to plot regions on.

color : mpl colour (default ‘g’)

Color of the regions.

alpha : float (default 0.3)

Opacity of the regions (1=opaque).

Other keywords arguments are passed to PolyCollection. :

«  barak.plot.arrplot   ::   Contents   ::   barak.plot.axvlines  »