code: def test_vmin_vmax_single_band(one_band_3dims):
      """Test vmin and max apply properly
  
      If the data are scaled between -10 and 10 the cbar vals should reflect
      that.
      """
  
      one_band_2dims = one_band_3dims[0]
      vmin = 0
      vmax = 10
      ax = ep.plot_bands(one_band_2dims, vmin=vmin, vmax=vmax)
      c_bar = ax.images[0].colorbar
  
      # Cbar should be scaled between the vmin and vmax vals
      assert c_bar.vmin == vmin and c_bar.vmax == vmax
      plt.close()
  
imports: import pytest
  import matplotlib.pyplot
  import matplotlib.colors
  import earthpy.plot
  import numpy
label_desc: Use image node_id 14 for calling a global function with example usage: test_vmin_vmax_single_band(one_band_3dims) without return types