code: def as_artist(self, origin=(0, 0), **kwargs):
          
          from matplotlib.text import Text
  
          mpl_params = self.mpl_properties_default('text')
          mpl_params.update(kwargs)
          text = Text(self.center.x - origin[0], self.center.y - origin[1],
                      self.text, **mpl_params)
  
          return text
docs: Matplotlib Text object for this region (`matplotlib.text.Text`).
  
          Parameters
          ----------
          origin : array_like, optional
              The ``(x, y)`` pixel position of the origin of the displayed image.
              Default is (0, 0).
          kwargs : `dict`
              All keywords that a `~matplotlib.text.Text` object accepts
  
          Returns
          -------
          text : `~matplotlib.text.Text`
              Matplotlib Text object.