logits (Tensor) – Model logits.
y (Tensor) – Ground truth labels.
confidence (Optional[Tensor]) – Confidence scores (if None, uses max softmax).
ax (Optional[Axes]) – Matplotlib axes object.
show_bounds (bool) – Whether to show random and ideal (oracle) bounds.