how do I draw mAP chart using log file?

  darknet, matplotlib, opencv, python, yolo

I trained YOLOV3 and saved all the information into a log file using following command:

./darknet detector train data/ yolo-obj.cfg darknet53.conv.74 -map 2> 1 | tee -a train_yolov3.log

Please see the below link, my log file:

I am trying to draw the mAP chart, I am wondering how do I draw mAP using that log file?
Thanks in advance!

Source: Python Questions