metaseq.plotutils.ci_plot

metaseq.plotutils.ci_plot(x, arr, conf=0.95, ax=None, line_kwargs=None, fill_kwargs=None)[source]

Plots the mean and 95% ci for the given array on the given axes

Parameters:

x : 1-D array-like

x values for the plot

arr : 2-D array-like

The array to calculate mean and std for

conf : float [.5 - 1]

Confidence interval to use

ax : matplotlib.Axes

The axes object on which to plot

line_kwargs : dict

Additional kwargs passed to Axes.plot

fill_kwargs : dict

Additiona kwargs passed to Axes.fill_between