code: def test_not_scaled_single_band(one_band_3dims):
      """Test if user turns off scaling and cbar the data vals remain intact.
  
      Also if no cbar is specified it should not render.
      """
      one_band_2dims = one_band_3dims[0]
  
      ax = ep.plot_bands(one_band_2dims, cbar=False)
      arr = ax.get_images()[0].get_array()
      c_bar = ax.images[0].colorbar
  
      # Return arr is unscaled for plotting
      assert (
          arr.min() == one_band_2dims.min()
          and arr.max() == one_band_2dims.max()
      )
      # A cbar should not be drawn in this plot
      assert not c_bar
      plt.close()
  
imports: import pytest
  import matplotlib.pyplot
  import matplotlib.colors
  import earthpy.plot
  import numpy
label_desc: Use image node_id 11 for calling a global function with example usage: test_not_scaled_single_band(one_band_3dims) without return types