corrected pthist x axis range