I’m reading the api changes page and it seems like there is a typo here, API Changes for 3.7.0 — Matplotlib 3.8.3 documentation
Thanks for the report @J_Wen and great spot!
I have opened a pull request to fix that