Python Plot Histogram From Array To String