code: def _update_labels(self, ax, data, style):
      labels = self.handles.get("labels", [])
      for label in labels:
          try:
              label.remove()
          except Exception:
              pass
      if "text" not in data:
          return []
  
      fontsize = style.get("label_text_font_size", 8)
      align = "left" if self.label_position == "right" else "right"
      labels = []
      for text in data["text"]:
          label = ax.annotate(
              *text,
              xycoords="data",
              horizontalalignment=align,
              fontsize=fontsize,
              verticalalignment="center",
              rotation_mode="anchor",
          )
          labels.append(label)
      return labels
  
file_path: holoviews/holoviews/plotting/mpl/sankey.py
imports: import param
  from matplotlib.collections import PatchCollection
  from matplotlib.patches import Rectangle
  from ...core.util import max_range
  from ...util.transform import dim
  from .graphs import GraphPlot
  from .util import filter_styles
label_desc: Use image node_id 3 for calling the SankeyPlot obj's underlying member method code with example usage: obj._update_labels(ax, data, style) and returns: labels, list