code: def get_data(self, element, ranges, style):
      with abbreviated_exception():
          style = self._apply_transforms(element, ranges, style)
  
      xs, ys = (element.dimension_values(i) for i in range(2))
      tdim = element.get_dimension(2)
      text = [
          tdim.pprint_value(v) for v in element.dimension_values(tdim)
      ]
      positions = (ys, xs) if self.invert_axes else (xs, ys)
      if self.xoffset is not None:
          xs += self.xoffset
      if self.yoffset is not None:
          ys += self.yoffset
  
      cs = None
      cdim = element.get_dimension(self.color_index)
      if cdim:
          self._norm_kwargs(element, ranges, style, cdim)
          cs = element.dimension_values(cdim)
      if "c" in style:
          cs = style.pop("c")
  
      if "size" in style:
          style["fontsize"] = style.pop("size")
      if "horizontalalignment" not in style:
          style["horizontalalignment"] = "center"
      if "verticalalignment" not in style:
          style["verticalalignment"] = "center"
      return positions + (text, cs), style, {}
  
imports: import matplotlib
  import numpy
  import pandas
  import param
  from matplotlib import patches
  from matplotlib.lines import Line2D
  from ...core.options import abbreviated_exception
  from ...core.util import match_spec
  from ...element import HLines, HSpans, VLines, VSpans
  from .element import ColorbarPlot, ElementPlot
  from .plot import mpl_rc_context
label_desc: Use image node_id 1 for calling the LabelsPlot obj's underlying member method code with example usage: obj.get_data(element, ranges, style) and returns: unknown,  style,  dict