Reference / binference.plotting.plot_trace
binference.plotting.plot_trace¶
- binference.plotting.plot_trace(result, idx=None, *, max_bins=4, fig=None, which='fractions')[source]¶
Trace plots of the fractions (or
which="rates", …) in selected bins, one line per chain.- Parameters:
- resultPopulationResult
- idxsequence of int, optional
Bins to show;
Nonechooses themax_binswith the largest mean.- max_binsint, optional
Number of bins shown when
idxisNone.- figmatplotlib Figure, optional
Figure to draw on;
Nonemakes a new one.- which{“fractions”, “rates”, “density”, “selected”}, optional
Quantity shown: fractions, rates, densities or the selected population.