This post describes how I went about visualizing probability density functions of 3-dimensional Dirichlet distributions with matplotlib. If you're already familiar with the Dirichlet distribution, you might want to skip the next section.

## Rolling Dice¶

To understand what the Dirichlet distribution describes, it is useful to consider how it can …