Update Categorical Inference chapter figure code, round 2