Update joint_hist.py