code: def test_vmin_vmax_multi_band(image_array_2bands):
      """Test vmin and max apply properly in multi band images
  
      If the data are scaled between -10 and 10 the cbar vals should reflect
      that.
      """
  
      one_band_2dims = image_array_2bands
      vmin = -10
      vmax = 10
      ax = ep.plot_bands(one_band_2dims, vmin=vmin, vmax=vmax)
  
      # Get all cbars - the min and max vals for all cbars should be -10 and 10
      cb_max = [a.images[0].colorbar.vmax for a in ax if a.images]
      cb_min = [a.images[0].colorbar.vmin for a in ax if a.images]
  
      assert all(map(lambda x: x == vmin, cb_min))
      assert all(map(lambda x: x == vmax, cb_max))
      plt.close()
  
imports: import pytest
  import matplotlib.pyplot
  import matplotlib.colors
  import earthpy.plot
  import numpy
label_desc: Use image node_id 13 for calling a global function with example usage: test_vmin_vmax_multi_band(image_array_2bands) without return types