結果 : python generate pdf with plots