matplotlib leak supression