code: def build_agg_dask():
      # Dask arrays are immutable `build_agg(da)` won't work.
      # Create numpy based DataArray and convert to Dask by forcing chunking.
      return build_agg(np).chunk({d: 1 for d in dims})
  
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 2 for calling a global function with example usage: build_agg_dask() and returns: build_agg