Skip to content

Instantly share code, notes, and snippets.

@roban
roban / plot2Ddist.py
Created January 24, 2011 12:14
Routines related to plotting 2D distributions of parameters (mainly for pymc models).
"""Routines related to plotting 2D distributions of parameters.
The core of this module is plot2Ddist, which plots a two-dimensional
distribution with 1D marginal histograms along each axis and optional
features like contours and lines indicating ranges and true values.
"""
import itertools
import math