#!/usr/bin/env python

import climate

import database
import plots


@climate.annotate(
    root='plot data rooted at this path',
    pattern=('plot data from files matching this pattern', 'option'),
)
def main(root, pattern='*/*block02/*trial00*.csv.gz'):
    with plots.space() as ax:
        for trial in database.Experiment(root).trials_matching(pattern):
            plots.skeleton(ax, trial, 100)
            break


if __name__ == '__main__':
    climate.call(main)

Add a small driver for plotting skeletons.