code: def test_single_hist_2titles(image_array_single_band):
      """Test that a single custom title works for one band hists."""
      custom_title = ["Great hist", "another title"]
  
      with pytest.raises(
          ValueError,
          match="You have one array to plot but more than one",
      ):
          ep.hist(image_array_single_band, title=custom_title)
      plt.close()
  
imports: import numpy
  import pytest
  import matplotlib.pyplot
  import earthpy.plot
label_desc: Use image node_id 4 for calling a global function with example usage: test_single_hist_2titles(image_array_single_band) without return types