Python coverage and matplotlib