plot_trace

gammapy.modeling.plot_trace(sampler, dataset)[source]

Plot the trace of walkers for every steps

Parameters:
sampler : emcee.EnsembleSampler

Sampler object containing the trace of all walkers

dataset : Dataset

Dataset