code: def test_shade_cmap_non_categorical_alpha(agg, cmap):
      img = tf.shade(agg.a, how="log", cmap=cmap)
      sol = np.array(
          [
              [0, 671088640, 1946157056],
              [2701131776, 0, 3640655872],
              [3976200192, 4278190080, 0],
          ]
      )
      sol = tf.Image(sol, coords=coords, dims=dims)
      assert_eq_xr(img, sol)
  
imports: from __future__ import annotations
  from io import BytesIO
  import numpy
  import xarray
  import dask.array
  import PIL
  import pytest
  import datashader.transfer_functions
  from datashader.tests.test_pandas import assert_eq_ndarray, assert_eq_xr, assert_image_close
label_desc: Use image node_id 11 for calling a global function with example usage: test_shade_cmap_non_categorical_alpha(agg, cmap) without return types