code: def test_hist_partially_masked_array(image_array_3bands):
      ones = np.ones(image_array_3bands[0].shape)
      image_array_3bands[2] = ones
      masked_arr = np.ma.masked_where(
          image_array_3bands == 1, image_array_3bands
      )
      f, ax = ep.hist(masked_arr, cols=3)
      assert len(f.axes) == 3
  
imports: import numpy
  import pytest
  import matplotlib.pyplot
  import earthpy.plot
label_desc: Use image node_id 23 for calling a global function with example usage: test_hist_partially_masked_array(image_array_3bands) without return types