Error type missing

From “matplotlib.figure — Matplotlib 3.8.3 documentation”, should Figure.colorbar now raise an ValueError?
image