code: def binned_array():
      im_arr = np.random.uniform(-2, 1, (6, 6))
      bins = [-100, -0.8, -0.2, 0.2, 0.8, np.Inf]
      im_arr_bin = np.digitize(im_arr, bins)
      return bins, im_arr_bin
  
imports: import numpy
  import pytest
  import matplotlib
  import matplotlib.pyplot
  from matplotlib.colors import ListedColormap
  import earthpy.plot
label_desc: Use image node_id 3 for calling a global function with example usage: binned_array() and returns: bins,  im_arr_bin