= np.deg2rad(angle + 180) text_angle = (angle + 90) % 180 - 90 # between -90 and +90. mode, user_angle = self._labelrotation