code: def lookup_extent(origin):
      """Return extent for label positioning when not given explicitly."""
      if origin == "lower":
          return (-0.5, 6.5, -0.5, 5.5)
      else:
          return (-0.5, 6.5, 5.5, -0.5)
  
file_path: matplotlib/galleries/users_explain/artists/imshow_extent.py
imports: import matplotlib.pyplot
  import numpy
  from matplotlib.gridspec import GridSpec
label_desc: Use image node_id 4 for calling a global function with example usage: lookup_extent(origin) and returns: unknown,  int,  unknown,  int, unknown,  int,  int,  unknown