Plots

There are a few built-in visualization tools within dot. Suppose you just finished the Getting Started tutorial. Here’s a quick example script for the movie function which produces a movie like the one below:

from dot import load_results
from dot.plots import movie

m, trace_nuts, summary = load_results(results_dir)

posterior_shear(m, trace_nuts)
movie(results_dir, m, trace_nuts, xsize=250)

Neat!