code: def test_hist_number_of_columns(image_array_2bands):
      """Test that the col argument changes the number of columns."""
      number_of_columns = [1, 2]
      for n in number_of_columns:
          f, ax = ep.hist(image_array_2bands, cols=n)
          assert [a.get_gridspec().ncols for a in ax] == [n] * 2
          plt.close(f)
  
imports: import numpy
  import pytest
  import matplotlib.pyplot
  import earthpy.plot
label_desc: Use image node_id 11 for calling a global function with example usage: test_hist_number_of_columns(image_array_2bands) without return types