code: def test_show_raster_float():
      """Test plotting a raster object with float data."""
      with rasterio.open("tests/data/float.tif") as src:
          show(src)
          fig = plt.gcf()
          plt.close(fig)
  
imports: import pytest
  import matplotlib
  import numpy
  import rasterio
  from rasterio.plot import show, show_hist, get_plt, plotting_extent, adjust_band
  from rasterio.enums import ColorInterp
label_desc: Use image node_id 4 for calling a global function with example usage: test_show_raster_float() without return types