Skip to content

ChainsMakie.jl

MCMC Chains plots for Makie.jl

ChainsMakie

What is ChainsMakie.jl?

ChainsMakie provides a set of tools to simplify the visualization of MCMC chains. MCMC chains are objects that contain the results of sampling algorithms used for Bayesian inference in probabilistic programming languages such as Turing.jl.

julia
using ChainsMakie, CairoMakie
import MCMCChains: Chains

chains = Chains(randn(300, 3, 4), [:A, :B, :C])

julia_quartet = [colorant"#4e63ae", colorant"#208921", colorant"#cc3333", colorant"#b352cc"]
plot(chains; color = julia_quartet, link_x = true)