add verify functionality to matplotlib build