code: def test_hist_1band_range(image_array_single_band):
      """Ensure that the range limits are reflected in the plot"""
      f, ax = ep.hist(image_array_single_band, hist_range=(2, 5))
      range_check = ax.get_xlim()
      assert range_check[0] > 1.5 and range_check[1] < 5.5
  
imports: import numpy
  import pytest
  import matplotlib.pyplot
  import earthpy.plot
label_desc: Use image node_id 20 for calling a global function with example usage: test_hist_1band_range(image_array_single_band) without return types