Problem
The location keyword for legend is loc so it's odd that it's location for colorbar. Nobody brought it up in #23267 so I don't know if there's been a discussion/argument against - but if there's no reason not to then it would be nice if legend and colorbar took the same positioning keyword.
Proposed solution
No response