docstr: Return the image extent as tuple (left, right, bottom, top)
docstr_tok: ["Return","the","image","extent","as","tuple","(","left",",","right",",","bottom",",","top",")"]
code: def get_extent(self):
      """Return the image extent as tuple (left, right, bottom, top)"""
      (x1, x2), (y1, y2) = self.axes.get_xlim(), self.axes.get_ylim()
      return x1, x2, y1, y2
  
imports: import warnings
  from matplotlib.image import _ImageBase
  from matplotlib.patches import Patch
  from matplotlib.transforms import Bbox, TransformedBbox, BboxTransform
  import matplotlib
  import numpy
  from .None import reductions
  from .None import transfer_functions
  from .colors import Sets1to3
  from .core import bypixel, Canvas
label_desc: Use image node_id 7 for calling the DSArtist obj's underlying member method code with example usage: obj.get_extent() and returns: x1,  x2,  y1,  y2