code: def as_artist(self, origin=(0, 0), **kwargs):
          
  
          if self.region1.center == self.region2.center and self.operator == op.xor:
              import matplotlib.patches as mpatches
  
              patch_inner = self.region1.as_artist(origin=origin)
              patch_outer = self.region2.as_artist(origin=origin)
              path = self._make_annulus_path(patch_inner, patch_outer)
              patch = mpatches.PathPatch(path, **kwargs)
              return patch
          else:
              raise NotImplementedError
docs: Matplotlib patch object for annulus region (`matplotlib.patches.PathPatch`).
  
          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.PathPatch` object accepts
  
          Returns
          -------
          patch : `~matplotlib.patches.PathPatch`
              Matplotlib patch object