Tweak to make matplotlib happy under both python 2 and python 3.
Tweak to make matplotlib happy under both python 2 and python 3.

hande-qmc/hande,hande-qmc/hande,ruthfranklin/hande,hande-qmc/hande,hande-qmc/hande,hande-qmc/hande