QT-matplotlib-pdf  and corresponding code