hierarchical clustering with dendrograms in matplotlib?

hi all,

is there a way to plot the results of hierarchical clustering as a dendrogram on top and to the sides of a heatmap matrix? for example, like this figure:

http://www.egms.de/figures/meetings/gmds2006/06gmds075.f1.png

any examples of how to do this in matplotlib would be greatly appreciated. thank you.