code: def test_hist_plot_1_band_array(basic_image):
      """A 2 dim image should plot properly returning a single axis object"""
      f, ax = ep.hist(basic_image)
      assert len(f.axes) == 1
      plt.close(f)
  
imports: import numpy
  import pytest
  import matplotlib.pyplot
  import earthpy.plot
label_desc: Use image node_id 12 for calling a global function with example usage: test_hist_plot_1_band_array(basic_image) without return types