Python Plot Histogram From Array To Arraylist