Tutorial showing how to parse a file and create an histogram with the counts of letters in the file.
Source: matplotlib for python developers. Chapter 6. Embedding matplotlib in Qt4.