rootpy.plotting.root2matplotlib.fill_between(a, b, logy=None, axes=None, **kwargs)[source]

Fill the region between two histograms or graphs.


a : Hist

A rootpy Hist

b : Hist

A rootpy Hist

logy : bool, optional (default=None)

If True then clip the region between 1E-300 and 1E300. If None (the default) then automatically determine if the axes are log-scale and if this clipping should be performed.

axes : matplotlib Axes instance, optional (default=None)

The axes to plot on. If None then use the global current axes.

kwargs : additional keyword arguments, optional

Additional keyword arguments are passed directly to matplotlib’s fill_between function.


Returns the value from matplotlib’s fill_between function.