class_docstr: A subclass of :class:`~matplotlib.image.AxesImage` which provides an
  interface for getting a raster from the given object with interactive
  slippy map type functionality.
  
  Kwargs are passed to the AxesImage constructor.
code: def __init__(self, ax, raster_source, **kwargs):
      self.raster_source = raster_source
      # This artist fills the Axes, so should not influence layout.
      kwargs.setdefault("in_layout", False)
      super().__init__(ax, **kwargs)
      self.cache = []
  
      ax.figure.canvas.mpl_connect("button_press_event", self.on_press)
      ax.figure.canvas.mpl_connect(
          "button_release_event", self.on_release
      )
  
      self.on_release()
  
file_path: cartopy/lib/cartopy/mpl/slippy_image_artist.py
imports: import matplotlib.artist
  from matplotlib.image import AxesImage
label_desc: Use image node_id 1 to create a new SlippyImageArtist object from inherited base classes: AxesImage with example: obj = SlippyImageArtist(ax, raster_source)