Update Categorical Inference chapter figure code, round 1