Skip to content

simonsteiger/ChainsMakie.jl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ChainsMakie

Build Status

A package to plot MCMC Chains using Makie.jl

Warning

This package is not yet registered and still work in progress. If you want to try it you will have to install it via Pkg.add(url="https://github.com/simonsteiger/ChainsMakie.jl").

Example

ChainsMakie provides several plotting functions to visually diagnose MCMC Chains. The plot function provides the standard visualisation showing a traceplot and a density plot for each parameter.

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)

chains plot example

Features

ChainsMakie contains recipes for the following Chains-specific plotting functions:

  • autocorplot
  • forestplot
  • meanplot
  • ridgeline
  • traceplot
  • trankplot

In addition, it extends the following existing Makie functions by adding a method for Chains:

  • density
  • hist
  • plot
  • violin

About

Plot MCMC chains with Makie.jl.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages