The suggestion in the Issue description was insufficient for solving this problem, so I instead chose to automatically rotate any angle for the text labels between π/2 and π by an additional π, resulting in the same perceived angle, but now with the text facing correctly upward. I left rotations of π to 2π alone, as the text faces a desired and readable angle, meaning that it might be an intended use case by the user.
For Issue #11637
The suggestion in the Issue description was insufficient for solving this problem, so I instead chose to automatically rotate any angle for the text labels between π/2 and π by an additional π, resulting in the same perceived angle, but now with the text facing correctly upward. I left rotations of π to 2π alone, as the text faces a desired and readable angle, meaning that it might be an intended use case by the user.