bayspar.predictplot

bayspar.predictplot(prediction, ylabel=None, x=None, xlabel=None, spaghetti=False, ax=None)

Lineplot of prediction with uncertainty estimate

Parameters:
prediction : bayspar.predict.Prediction

MCMC prediction

ylabel : string, optional

String label for y-axis.

x : numpy.ndarray, optional

Array over which to evaluate the densities. Default is numpy.arange(0, 40.1, 0.1).

xlabel : string, optional

String label for x-axis.

ax : matplotlib.Axes, optional

Axes to plot onto.

Returns:
ax : matplotlib.Axes