matplotlib 1.2.1 for python 2.5 compatibility