python tool to analysis program output and generate figure to visualize result