Reference / binference.plotting.plot_individual
binference.plotting.plot_individual¶
- binference.plotting.plot_individual(result, i, ax=None, n_draws=200, *, color=None, sample_color=None)[source]¶
Compare object
i’s own likelihood (flat-prior posterior) with its shrunk posterior.- Parameters:
- resultPopulationResult or PointEstimate
- iint
Index of the object.
- axmatplotlib Axes, optional
Axes to draw on;
Nonemakes a new figure.- n_drawsint, optional
Population draws averaged for the shrunk posterior.
- colormatplotlib colour, optional
Colour of the shrunk posterior;
Nonetakes the style’s first colour.- sample_colormatplotlib colour, optional
Colour of the object’s own likelihood;
Nonetakes the style’s second colour.