code: def test_low_data_range():
      with expected_warnings(
          imshow_expected_warnings
          + ["Low image data range|CObject type is marked"]
      ):
          ax_im = io.imshow(im_lo)
      assert ax_im.get_clim() == (im_lo.min(), im_lo.max())
      # check that a colorbar was created
      assert ax_im.colorbar is not None
  
file_path: scikit-image/skimage/io/tests/test_mpl_imshow.py
imports: import numpy
  import pytest
  from skimage import io
  from skimage._shared._warnings import expected_warnings
label_desc: Use image node_id 6 for calling a global function with example usage: test_low_data_range() without return types