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

def ci_plot(x, arr, conf=0.95, ax=None, line_kwargs=None, fill_kwargs=None):
    """
    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
    """
    if ax is None:
        fig = plt.figure()
        ax = fig.add_subplot(111)

    line_kwargs = line_kwargs or {}
    fill_kwargs = fill_kwargs or {}

    m, lo, hi = ci(arr, conf)
    ax.plot(x, m, **line_kwargs)
    ax.fill_between(x, lo, hi, **fill_kwargs)
    return ax