code: def _element_transform(self, transform, element, ranges):
      return transform.apply(
          element.gridded, ranges=ranges, flat=False
      ).T.flatten()
  
imports: import numpy
  import param
  from bokeh.models.glyphs import AnnularWedge
  from ...core.data import GridInterface
  from ...core.spaces import HoloMap
  from ...core.util import dimension_sanitizer, is_nan
  from .element import ColorbarPlot, CompositeElementPlot
  from .selection import BokehOverlaySelectionDisplay
  from .styles import base_properties, fill_properties, line_properties, text_properties
label_desc: Use image node_id 3 for calling the HeatMapPlot obj's underlying member method code with example usage: obj._element_transform(transform, element, ranges) and returns: transform