結果 : python create diagram from code