Render some probabilistic graphical models using matplotlib