Small matplotlib fix