Plot a result

The plots need the plot extra (matplotlib). telescopic.Result.plot_marginals() draws the signed histogram of each coordinate as a density, with boxes of plus or minus two standard errors:

result.plot_marginals();
Two bell-shaped histograms, one for each coordinate, each bin topped by a small box.

The signed histogram of each coordinate as a density, with a box of plus or minus two standard errors on each bin.

telescopic.Result.plot_corner() draws the marginals on its diagonal and the signed joint density of each pair of coordinates below it, on a diverging color map centered on 0:

result.plot_corner();
A two-by-two grid: a histogram of each coordinate on the diagonal, and below it a colored map of their joint density along a rising diagonal.

The corner plot: the signed marginal of each coordinate on the diagonal, and their signed joint density below it, on a color map centered on 0.

telescopic.Result.plot_meeting_times() and telescopic.Result.plot_tv_bound() are shown in Read meeting times and the distance to stationarity. Each method returns its matplotlib axes, and all but plot_corner draw on axes given as axes or ax. The functions of telescopic.plotting, which import telescopic leaves out since it needs matplotlib, take the result as their first argument and do the same; telescopic.plotting.survival() draws the survival function of an array of meeting times (Meeting times), and telescopic.plotting.paths() also draws the coupled paths of a few replicates of an engine run with keep_paths=True (How it works).

The atoms are not samples of the target, even when plotted without their weights: the atoms of each Y chain carry negative weights. Packages such as corner and ArviZ compute weighted quantiles that assume non-negative weights, so the atoms should not be passed to them with their weights either.