'"Update the pixel positions of the annotated point and the
text.'

def update_positions(self, renderer):

    xy_pixel = self._get_position_xy(renderer)
    self._update_position_xytext(renderer, xy_pixel)
