code: def as_artist(self, origin=(0, 0), **kwargs):
          
          from matplotlib.patches import Rectangle
          xy = self._lower_left_xy()
          xy = xy[0] - origin[0], xy[1] - origin[1]
          width = self.width
          height = self.height
          # From the docstring: MPL expects "rotation in degrees (anti-clockwise)"
          angle = self.angle.to('deg').value
  
          mpl_params = self.mpl_properties_default('patch')
          mpl_params.update(kwargs)
  
          return Rectangle(xy=xy, width=width, height=height,
                           angle=angle, **mpl_params)
docs: Matplotlib patch object for this region (`matplotlib.patches.Rectangle`).
  
          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.patches.Rectangle` object accepts
  
          Returns
          -------
          patch : `~matplotlib.patches.Rectangle`
              Matplotlib circle patch