code: def test_custom_plot_title(image_array_2bands):
      """Test that the custom title is applied for a 2 band array plot."""
      ax = ep.plot_bands(
          image_array_2bands, title=["Red Band", "Green Band"]
      )
      num_plts = image_array_2bands.shape[0]
      all_titles = [ax[i].get_title() for i in range(num_plts)]
      assert all_titles == ["Red Band", "Green Band"]
      plt.close()
  
imports: import pytest
  import matplotlib.pyplot
  import matplotlib.colors
  import earthpy.plot
  import numpy
label_desc: Use image node_id 7 for calling a global function with example usage: test_custom_plot_title(image_array_2bands) without return types