def get_yaxis_text2_transform(self, pad):
    angle = self._r_label_position.to_values()[4]
    if (angle < 90.0):
        return (self._yaxis_text_transform, 'top', 'right')
    elif (angle < 180.0):
        return (self._yaxis_text_transform, 'top', 'left')
    elif (angle < 270.0):
        return (self._yaxis_text_transform, 'bottom', 'left')
    else:
        return (self._yaxis_text_transform, 'bottom', 'right')
def get_yaxis_text2_transform(self, pad):
    angle = self._r_label_position.to_values()[4]
    if (angle < 90.0):
        return (self._yaxis_text_transform, 'top', 'right')
    elif (angle < 180.0):
        return (self._yaxis_text_transform, 'top', 'left')
    elif (angle < 270.0):
        return (self._yaxis_text_transform, 'bottom', 'left')
    else:
        return (self._yaxis_text_transform, 'bottom', 'right')