python matplotlib figurecanvasagg is non interactive and thus cannot be shown