Update matplotlib to version 1.3.1.

I added a licence field as discussed in
https://groups.google.com/forum/#!topic/hashdist/aJQkqm9hZZw