code: def _plot_image(
      arr_im,
      cmap="Greys_r",
      title=None,
      extent=None,
      cbar=True,
      scale=False,
      vmin=None,
      vmax=None,
      ax=None,
      alpha=1,
      norm=None,
  ):
      """
      Create a matplotlib figure with an image axis and associated extent.
  
      Parameters
      ----------
      arr_im : numpy array
          An n-dimensional numpy array to plot.
      cmap : str (default = "Greys_r")
          Colormap name for plots.
      title : str or list (optional)
          Title of one band or list of titles with one title per band.
      extent : tuple (optional)
          Bounding box that the data will fill: (minx, miny, maxx, maxy).
      cbar : Boolean (default = True)
          Turn off colorbar if needed.
      scale : Boolean (Default = False)
          Turn off bytescale scaling if needed.
      vmin : Int (Optional)
          Specify the vmin to scale imshow() plots.
      vmax : Int (Optional)
          Specify the vmax to scale imshow() plots.
      ax : Matplotlib axes object (Optional)
          Matplotlib axis object to plot image.
      alpha : float (optional)
          The alpha value for the plot. This will help adjust the transparency of
          the plot to the desired level.
      norm : matplotlib Normalize object (Optional)
          The normalized boundaries for custom values coloring. NOTE: For this
          argument to work, the scale argument MUST be set to false. Otherwise,
          the values will be scaled from 0-255.
  
      Returns
      ----------
      ax : matplotlib.axes object
          The axes object(s) associated with the plot.
      """
  
      if scale:
          arr_im = es.bytescale(arr_im)
  
      im = ax.imshow(
          arr_im,
          cmap=cmap,
          vmin=vmin,
          vmax=vmax,
          extent=extent,
          alpha=alpha,
          norm=norm,
      )
      if title:
          ax.set(title=title)
      if cbar:
          colorbar(im)
      ax.set(xticks=[], yticks=[])
  
      return ax
  
file_path: earthpy/earthpy/plot.py
imports: import numpy
  import numpy.ma
  import matplotlib.pyplot
  from matplotlib import patches
  from matplotlib.colors import ListedColormap
  from mpl_toolkits.axes_grid1 import make_axes_locatable
  from skimage import exposure
  import earthpy.spatial
label_desc: Use image node_id 2 for calling a global function with example usage: _plot_image(arr_im, cmap, title, extent, cbar, scale, vmin, vmax, ax, alpha, norm) and returns: ax